From 66b075a0c9e968565c53ed2586bdd1c9ffe8d513 Mon Sep 17 00:00:00 2001 From: Jerome Leclanche Date: Mon, 20 Jun 2011 07:01:47 +0100 Subject: [PATCH] winhttp: Fix a warning when compiling --without-openssl. --- dlls/winhttp/net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winhttp/net.c b/dlls/winhttp/net.c index 02ba1af9057..ecaba3d2567 100644 --- a/dlls/winhttp/net.c +++ b/dlls/winhttp/net.c @@ -735,8 +735,6 @@ BOOL netconn_send( netconn_t *conn, const void *msg, size_t len, int flags, int BOOL netconn_recv( netconn_t *conn, void *buf, size_t len, int flags, int *recvd ) { - int ret; - *recvd = 0; if (!netconn_connected( conn )) return FALSE; if (!len) return TRUE; @@ -744,6 +742,8 @@ BOOL netconn_recv( netconn_t *conn, void *buf, size_t len, int flags, int *recvd if (conn->secure) { #ifdef SONAME_LIBSSL + int ret; + if (flags & ~(MSG_PEEK | MSG_WAITALL)) FIXME("SSL_read does not support the following flags: %08x\n", flags);