From 3cb3883908e3168e5f955be3143771721614307a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Jan 2017 21:27:03 +0300 Subject: Netlib_FreeHttpRequest() instead of MS_NETLIB_FREEHTTPREQUESTSTRUCT --- plugins/Watrack/myshows/i_cookies.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Watrack/myshows') diff --git a/plugins/Watrack/myshows/i_cookies.inc b/plugins/Watrack/myshows/i_cookies.inc index 62563e7afc..24c90216b9 100644 --- a/plugins/Watrack/myshows/i_cookies.inc +++ b/plugins/Watrack/myshows/i_cookies.inc @@ -66,7 +66,7 @@ begin nlu.szSettingsModule:='dummy'; hTmpNetLib:=Netlib_RegisterUser(@nlu); - resp:=pointer(CallService(MS_NETLIB_HTTPTRANSACTION,hTmpNetLib,lparam(@req))); + resp:=Netlib_HttpTransaction(hTmpNetLib,@req); if resp<>nil then begin if resp^.resultCode=200 then @@ -82,7 +82,7 @@ begin begin result:=pAnsiChar(int_ptr(resp^.resultCode and $0FFF)); end; - CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT,0,lparam(resp)); + Netlib_FreeHttpRequest(resp); end; Netlib_CloseHandle(hTmpNetLib); -- cgit v1.2.3