From f30616e2578977aefa2ae7cfc3659c03ad136c23 Mon Sep 17 00:00:00 2001 From: Jerome Leclanche Date: Mon, 20 Jun 2011 06:16:31 +0100 Subject: [PATCH] wininet: Fix a warning when compiling --without-openssl. --- dlls/wininet/netconnection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wininet/netconnection.c b/dlls/wininet/netconnection.c index 6c67f284ee1..060acc64353 100644 --- a/dlls/wininet/netconnection.c +++ b/dlls/wininet/netconnection.c @@ -656,10 +656,10 @@ int sock_get_error( int err ) */ DWORD NETCON_secure_connect(netconn_t *connection, LPWSTR hostname) { - void *ssl_s; DWORD res = ERROR_NOT_SUPPORTED; - #ifdef SONAME_LIBSSL + void *ssl_s; + /* can't connect if we are already connected */ if (connection->ssl_s) { -- 2.11.4.GIT