From bb03623fd3ba7b9cc456da2c9504bad87b80ace0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 11 Jan 2017 19:51:30 +0300 Subject: - Netlib_Send & Netlib_Recv helpers became real functions, MS_NETLIB_SEND & MS_NETLIB_RECV died; - fix for dumping chunked http replies into a network log --- plugins/Utils.pas/mirutils.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Utils.pas/mirutils.pas') diff --git a/plugins/Utils.pas/mirutils.pas b/plugins/Utils.pas/mirutils.pas index 10f2ea2578..4ede3640a2 100644 --- a/plugins/Utils.pas/mirutils.pas +++ b/plugins/Utils.pas/mirutils.pas @@ -458,7 +458,7 @@ begin end; if (hNetLib=0) and (nlu.cbSize<>0) then - CallService(MS_NETLIB_CLOSEHANDLE,hTmpNetLib,0); + Netlib_CloseHandle(hTmpNetLib); end; (* @@ -537,7 +537,7 @@ begin CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT,0,lparam(resp)); if nlu.cbSize<>0 then - CallService(MS_NETLIB_CLOSEHANDLE,hNetLib,0); + Netlib_CloseHandle(hNetLib); end; end; @@ -640,7 +640,7 @@ begin end; CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT,0,lparam(resp)); end; - CallService(MS_NETLIB_CLOSEHANDLE,hNetLib,0); + Netlib_CloseHandle(hNetLib); end; function RegisterSingleIcon(resname,ilname,descr,group:PAnsiChar):int; -- cgit v1.2.3