diff options
Diffstat (limited to 'plugins/Watrack/myshows/i_cookies.inc')
-rw-r--r-- | plugins/Watrack/myshows/i_cookies.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Watrack/myshows/i_cookies.inc b/plugins/Watrack/myshows/i_cookies.inc index 3241134cf3..62563e7afc 100644 --- a/plugins/Watrack/myshows/i_cookies.inc +++ b/plugins/Watrack/myshows/i_cookies.inc @@ -62,13 +62,11 @@ begin end;
FillChar(nlu,SizeOf(nlu),0);
- nlu.cbSize :=SizeOf(nlu);
- nlu.flags :=NUF_HTTPCONNS or NUF_NOHTTPSOPTION or NUF_OUTGOING or NUF_NOOPTIONS;
+ nlu.flags := NUF_HTTPCONNS or NUF_NOHTTPSOPTION or NUF_OUTGOING or NUF_NOOPTIONS;
nlu.szSettingsModule:='dummy';
- hTmpNetLib:=CallService(MS_NETLIB_REGISTERUSER,0,lparam(@nlu));
+ hTmpNetLib:=Netlib_RegisterUser(@nlu);
resp:=pointer(CallService(MS_NETLIB_HTTPTRANSACTION,hTmpNetLib,lparam(@req)));
-
if resp<>nil then
begin
if resp^.resultCode=200 then
|