mirror of
https://github.com/curl/curl.git
synced 2025-09-22 03:52:42 +03:00
schannel_recv: return the correct code
Bug: http://curl.haxx.se/bug/view.cgi?id=1462 Reported-by: Tae Hyoung Ahn
This commit is contained in:
parent
680d5fd041
commit
145c263a4b
|
@ -1013,6 +1013,8 @@ schannel_recv(struct connectdata *conn, int sockindex,
|
||||||
infof(data, "schannel: decrypted data buffer: offset %zu length %zu\n",
|
infof(data, "schannel: decrypted data buffer: offset %zu length %zu\n",
|
||||||
connssl->decdata_offset, connssl->decdata_length);
|
connssl->decdata_offset, connssl->decdata_length);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
ret = 0;
|
||||||
|
|
||||||
/* check if the server closed the connection */
|
/* check if the server closed the connection */
|
||||||
if(ret <= 0 && ( /* special check for Windows 2000 Professional */
|
if(ret <= 0 && ( /* special check for Windows 2000 Professional */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user