summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/http_request.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/http_request.h')
-rw-r--r--protocols/Tox/src/http_request.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Tox/src/http_request.h b/protocols/Tox/src/http_request.h
index 1ffa523775..18b8228f63 100644
--- a/protocols/Tox/src/http_request.h
+++ b/protocols/Tox/src/http_request.h
@@ -98,11 +98,11 @@ public:
memcpy(pData, data, size);
}
- NETLIBHTTPREQUEST* Send(HANDLE hNetlibConnection)
+ NETLIBHTTPREQUEST* Send(HNETLIBUSER hNetlibConnection)
{
m_szUrl.Replace('\\', '/');
szUrl = m_szUrl.GetBuffer();
- return (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)hNetlibConnection, (LPARAM)this);
+ return Netlib_HttpTransaction(hNetlibConnection, this);
}
};