winhttp: Improved error handling in netconn_secure_connect.

This commit is contained in:
Jacek Caban 2013-04-02 11:16:34 +02:00 committed by Alexandre Julliard
parent 083500caf2
commit 816f7ef595
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}