Module: wine Branch: master Commit: aaca286cf8ea993a28091d27dd44137e744317e7 URL: https://source.winehq.org/git/wine.git/?a=commit;h=aaca286cf8ea993a28091d27d...
Author: Alex Henrie alexhenrie24@gmail.com Date: Sun Nov 11 20:52:13 2018 -0700
winhttp: Make constant 'cookieW' static.
Signed-off-by: Alex Henrie alexhenrie24@gmail.com Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/winhttp/cookie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winhttp/cookie.c b/dlls/winhttp/cookie.c index 0a7f7f0..88365f5 100644 --- a/dlls/winhttp/cookie.c +++ b/dlls/winhttp/cookie.c @@ -344,7 +344,7 @@ BOOL add_cookie_headers( request_t *request )
if (strstrW( request->path, cookie->path ) == request->path) { - const WCHAR cookieW[] = {'C','o','o','k','i','e',':',' '}; + static const WCHAR cookieW[] = {'C','o','o','k','i','e',':',' '}; int len, len_cookie = ARRAY_SIZE( cookieW ), len_name = strlenW( cookie->name ); WCHAR *header;