From 7c7d00a12f60e704eb9937ebcfe694f6c8dd6a06 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Mon, 17 May 2010 10:04:18 -0700 Subject: [PATCH] winhttp: Store security flags in netconn_t. --- dlls/winhttp/session.c | 2 +- dlls/winhttp/winhttp_private.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c index acf7eb9246a..490da059e30 100644 --- a/dlls/winhttp/session.c +++ b/dlls/winhttp/session.c @@ -741,7 +741,7 @@ static BOOL request_set_option( object_header_t *hdr, DWORD option, LPVOID buffe set_last_error( ERROR_INVALID_PARAMETER ); return FALSE; } - request->security_flags = flags; + request->netconn.security_flags = flags; return TRUE; } case WINHTTP_OPTION_RESOLVE_TIMEOUT: diff --git a/dlls/winhttp/winhttp_private.h b/dlls/winhttp/winhttp_private.h index 43961fe9ade..c2dfdbe390f 100644 --- a/dlls/winhttp/winhttp_private.h +++ b/dlls/winhttp/winhttp_private.h @@ -128,6 +128,7 @@ typedef struct char *peek_msg; char *peek_msg_mem; size_t peek_len; + DWORD security_flags; } netconn_t; typedef struct @@ -155,7 +156,6 @@ typedef struct DWORD content_read; /* bytes read so far */ header_t *headers; DWORD num_headers; - DWORD security_flags; } request_t; typedef struct _task_header_t task_header_t;