diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-06-03 08:02:22 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-06-03 08:02:22 +0000 |
commit | 6cca309d4028ad6d19307036444f8f6d14762c20 (patch) | |
tree | 4209b3ad620feba5b72a95b2b05fc74724259d86 /protocols/Steam/src/http_request.h | |
parent | d230e6973528f1af91845d2dd1d6bb3f74db8b4f (diff) |
Steam: fix setting timeout; fix default timeout (this fixes x64 compatibility)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9400 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/http_request.h')
-rw-r--r-- | protocols/Steam/src/http_request.h | 5 |
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()
|