Commit 816f7ef5 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winhttp: Improved error handling in netconn_secure_connect.

parent 083500ca
......@@ -406,7 +406,7 @@ BOOL netconn_secure_connect( netconn_t *conn, WCHAR *hostname )
size = send(conn->socket, out_buf.pvBuffer, out_buf.cbBuffer, 0);
if(size != out_buf.cbBuffer) {
ERR("send failed\n");
status = ERROR_WINHTTP_SECURE_CHANNEL_ERROR;
res = ERROR_WINHTTP_SECURE_CHANNEL_ERROR;
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment