Module: wine Branch: master Commit: 816f7ef595cf49abc6ef672aa2ae6c8f36d6d437 URL: http://source.winehq.org/git/wine.git/?a=commit;h=816f7ef595cf49abc6ef672aa2...
Author: Jacek Caban jacek@codeweavers.com Date: Tue Apr 2 11:16:34 2013 +0200
winhttp: Improved error handling in netconn_secure_connect.
---
dlls/winhttp/net.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winhttp/net.c b/dlls/winhttp/net.c index bc83542..415511e 100644 --- a/dlls/winhttp/net.c +++ b/dlls/winhttp/net.c @@ -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; }