wininet: Remove unused parameter from create_netconn().
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b457352f0c
commit
24f3d50ccc
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue