wininet: Constify some character strings

Frédéric Delanoy frederic.delanoy at gmail.com
Wed Dec 18 16:14:15 CST 2013


---
 dlls/wininet/http.c | 4 ++--
 1 file 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;
-- 
1.8.5




More information about the wine-patches mailing list