=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: wininet: Constify some character strings.

Alexandre Julliard julliard at winehq.org
Thu Dec 19 12:43:26 CST 2013


Module: wine
Branch: master
Commit: 43d6a45c4e977edd82d934044d0d777714997ee7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=43d6a45c4e977edd82d934044d0d777714997ee7

Author: Frédéric Delanoy <frederic.delanoy at 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;




More information about the wine-cvs mailing list