Module: wine Branch: master Commit: 7c7d00a12f60e704eb9937ebcfe694f6c8dd6a06 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7c7d00a12f60e704eb9937ebcf...
Author: Juan Lang juan.lang@gmail.com Date: Mon May 17 10:04:18 2010 -0700
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 acf7eb9..490da05 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 43961fe..c2dfdbe 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;