From c74c7fe3605d7426afb6b6436d4ebaa978f34c2f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Jan 2017 13:58:06 +0300 Subject: a fix for passing connection handles into Netlib_Logf --- protocols/FacebookRM/src/http_request.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/FacebookRM/src') 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); } -- cgit v1.2.3