Alexandre Julliard : urlmon/tests: Update winehq.org's IP address.

Alexandre Julliard julliard at winehq.org
Fri Aug 7 10:42:30 CDT 2020


Module: wine
Branch: stable
Commit: c803ee8c7c08c42222298d0cbfab367f7ca0f019
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c803ee8c7c08c42222298d0cbfab367f7ca0f019

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jun 23 22:34:00 2020 +0200

urlmon/tests: Update winehq.org's IP address.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit ef9d05d9c2e62d31f59d1ad649856031b47a625b)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/urlmon/tests/url.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/dlls/urlmon/tests/url.c b/dlls/urlmon/tests/url.c
index cfa29248d6..6dd47732dd 100644
--- a/dlls/urlmon/tests/url.c
+++ b/dlls/urlmon/tests/url.c
@@ -157,10 +157,9 @@ static const WCHAR wszTextHtml[] = {'t','e','x','t','/','h','t','m','l',0};
 
 static WCHAR BSCBHolder[] = { '_','B','S','C','B','_','H','o','l','d','e','r','_',0 };
 
-static const WCHAR wszWineHQSite[] =
-    {'w','w','w','.','w','i','n','e','h','q','.','o','r','g',0};
-static const WCHAR wszWineHQIP[] =
-    {'4','.','1','5','.','1','8','4','.','7','7',0};
+#define WINEHQ_IP "4.4.81.124"
+static const WCHAR wszWineHQSite[] = L"www.winehq.org";
+static const WCHAR wszWineHQIP[] = L"" WINEHQ_IP;
 static const CHAR wszIndexHtmlA[] = "index.html";
 static const WCHAR cache_fileW[] = {'c',':','\\','c','a','c','h','e','.','h','t','m',0};
 static const CHAR dwl_htmlA[] = "dwl.html";
@@ -2870,7 +2869,7 @@ static void init_bind_test(int protocol, DWORD flags, DWORD t)
         url_a = "its:test.chm::/blank.html";
         break;
     case HTTPS_TEST:
-        url_a = (flags & BINDTEST_INVALID_CN) ? "https://4.15.184.77/favicon.ico" : "https://test.winehq.org/tests/hello.html";
+        url_a = (flags & BINDTEST_INVALID_CN) ? "https://" WINEHQ_IP "/favicon.ico" : "https://test.winehq.org/tests/hello.html";
         break;
     case FTP_TEST:
         url_a = "ftp://ftp.winehq.org/welcome%2emsg";




More information about the wine-cvs mailing list