diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-12 13:58:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-12 13:58:06 +0300 |
commit | c74c7fe3605d7426afb6b6436d4ebaa978f34c2f (patch) | |
tree | 7f7ca3a25ceeb9cb755a8660fa0fa9b87900ac13 /protocols | |
parent | ffbdd25f9aec76d7da5507810cd793193725ecfa (diff) |
a fix for passing connection handles into Netlib_Logf
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/FacebookRM/src/http_request.h | 2 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/http_request.h | 2 | ||||
-rw-r--r-- | protocols/Steam/src/http_request.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/http_request.h b/protocols/FacebookRM/src/http_request.h index 634b24605a..53423cb58c 100644 --- a/protocols/FacebookRM/src/http_request.h +++ b/protocols/FacebookRM/src/http_request.h @@ -287,7 +287,7 @@ public: dataLength = (int)mir_strlen(pData); } - Netlib_Logf(NULL, "Send request to %s", szUrl); + Netlib_Logf(Netlib_GetConnNlu(hConnection), "Send request to %s", szUrl); return (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)hConnection, (LPARAM)(NETLIBHTTPREQUEST*)this); } diff --git a/protocols/SkypeWeb/src/http_request.h b/protocols/SkypeWeb/src/http_request.h index ab4a556bcd..a696a2f9c6 100644 --- a/protocols/SkypeWeb/src/http_request.h +++ b/protocols/SkypeWeb/src/http_request.h @@ -274,7 +274,7 @@ public: dataLength = (int)mir_strlen(pData);
}
- Netlib_Logf(NULL, "Send request to %s", szUrl);
+ Netlib_Logf(Netlib_GetConnNlu(hConnection), "Send request to %s", szUrl);
return (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)hConnection, (LPARAM)(NETLIBHTTPREQUEST*)this);
}
diff --git a/protocols/Steam/src/http_request.h b/protocols/Steam/src/http_request.h index 402185048d..fbbd7d3e84 100644 --- a/protocols/Steam/src/http_request.h +++ b/protocols/Steam/src/http_request.h @@ -144,7 +144,7 @@ public: { szUrl = m_url.GetBuffer(); - Netlib_Logf(NULL, "Send request to %s", szUrl); + Netlib_Logf(Netlib_GetConnNlu(hConnection), "Send request to %s", szUrl); NETLIBHTTPREQUEST* response = (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)hConnection, (LPARAM)this); HttpResponse* result = new HttpResponse(response, this); |