summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Steam/src/http_request.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/Steam/src/http_request.h b/protocols/Steam/src/http_request.h
index b4f312111b..c9f9013eab 100644
--- a/protocols/Steam/src/http_request.h
+++ b/protocols/Steam/src/http_request.h
@@ -32,6 +32,7 @@ public:
szResultDescr = NULL;
flags = NLHRF_HTTP11 | NLHRF_NODUMPSEND | NLHRF_DUMPASTEXT;
requestType = request;
+ timeout = 0;
m_hNetlibUser = hNetlibUser;
szUrl = NULL;
@@ -104,9 +105,9 @@ public:
m_szUrl.append("&").append(szValue);
}
- void SetTimeout(int timeout)
+ void SetTimeout(int msecs)
{
- timeout = timeout;
+ timeout = msecs;
}
NETLIBHTTPREQUEST *Send()