Signed-off-by: Dmitry Timoshkov <dmitry(a)baikal.ru>
---
dlls/wininet/http.c | 3 +--
dlls/wininet/internet.h | 2 +-
dlls/wininet/netconnection.c | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 75784dac62..b7be9939a1 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -4739,7 +4739,6 @@ static void http_process_keep_alive(http_request_t *req)
static DWORD open_http_connection(http_request_t *request, BOOL *reusing)
{
- const BOOL is_https = (request->hdr.dwFlags & INTERNET_FLAG_SECURE) != 0;
netconn_t *netconn = NULL;
DWORD res;
@@ -4794,7 +4793,7 @@ static DWORD open_http_connection(http_request_t *request, BOOL *reusing)
request->server->addr_str,
strlen(request->server->addr_str)+1);
- res = create_netconn(is_https, request->proxy ? request->proxy : request->server, request->security_flags,
+ res = create_netconn(request->proxy ? request->proxy : request->server, request->security_flags,
(request->hdr.ErrorMask & INTERNET_ERROR_MASK_COMBINED_SEC_CERT) != 0,
request->connect_timeout, &netconn);
if(res != ERROR_SUCCESS) {
diff --git a/dlls/wininet/internet.h b/dlls/wininet/internet.h
index 498a79b080..8d4266a9be 100644
--- a/dlls/wininet/internet.h
+++ b/dlls/wininet/internet.h
@@ -428,7 +428,7 @@ VOID INTERNET_SendCallback(object_header_t *hdr, DWORD_PTR dwContext,
DWORD dwStatusInfoLength) DECLSPEC_HIDDEN;
WCHAR *INTERNET_FindProxyForProtocol(LPCWSTR szProxy, LPCWSTR proto) DECLSPEC_HIDDEN;
-DWORD create_netconn(BOOL,server_t*,DWORD,BOOL,DWORD,netconn_t**) DECLSPEC_HIDDEN;
+DWORD create_netconn(server_t*,DWORD,BOOL,DWORD,netconn_t**) DECLSPEC_HIDDEN;
void free_netconn(netconn_t*) DECLSPEC_HIDDEN;
void NETCON_unload(void) DECLSPEC_HIDDEN;
DWORD NETCON_secure_connect(netconn_t*,server_t*) DECLSPEC_HIDDEN;
diff --git a/dlls/wininet/netconnection.c b/dlls/wininet/netconnection.c
index bab046f579..ccdb8818d7 100644
--- a/dlls/wininet/netconnection.c
+++ b/dlls/wininet/netconnection.c
@@ -340,7 +340,7 @@ static DWORD create_netconn_socket(server_t *server, netconn_t *netconn, DWORD t
return ERROR_SUCCESS;
}
-DWORD create_netconn(BOOL useSSL, server_t *server, DWORD security_flags, BOOL mask_errors, DWORD timeout, netconn_t **ret)
+DWORD create_netconn(server_t *server, DWORD security_flags, BOOL mask_errors, DWORD timeout, netconn_t **ret)
{
netconn_t *netconn;
int result;
--
2.17.1