From 6cca309d4028ad6d19307036444f8f6d14762c20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Tue, 3 Jun 2014 08:02:22 +0000 Subject: 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 --- protocols/Steam/src/http_request.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'protocols') 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() -- cgit v1.2.3