Module: wine Branch: master Commit: 43d6a45c4e977edd82d934044d0d777714997ee7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=43d6a45c4e977edd82d934044d...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Wed Dec 18 23:14:15 2013 +0100
wininet: Constify some character strings.
---
dlls/wininet/http.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 817fea1..0186975 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -4058,8 +4058,8 @@ static DWORD HTTP_HandleRedirect(http_request_t *request, LPCWSTR lpszUrl) WCHAR userName[INTERNET_MAX_USER_NAME_LENGTH]; BOOL custom_port = FALSE;
- static WCHAR httpW[] = {'h','t','t','p',0}; - static WCHAR httpsW[] = {'h','t','t','p','s',0}; + static const WCHAR httpW[] = {'h','t','t','p',0}; + static const WCHAR httpsW[] = {'h','t','t','p','s',0};
userName[0] = 0; hostName[0] = 0;