Jacek Caban : wininet/tests: Use nameless structs and unions.

Alexandre Julliard julliard at winehq.org
Tue Mar 23 16:54:30 CDT 2021


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Mar 23 00:31:04 2021 +0100

wininet/tests: Use nameless structs and unions.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wininet/tests/Makefile.in | 1 -
 dlls/wininet/tests/urlcache.c  | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/wininet/tests/Makefile.in b/dlls/wininet/tests/Makefile.in
index 6c1f5fd5c61..ae18bb72faf 100644
--- a/dlls/wininet/tests/Makefile.in
+++ b/dlls/wininet/tests/Makefile.in
@@ -1,6 +1,5 @@
 TESTDLL   = wininet.dll
 IMPORTS   = wininet crypt32 ws2_32 user32 advapi32 shell32
-EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
 
 C_SRCS = \
 	ftp.c \
diff --git a/dlls/wininet/tests/urlcache.c b/dlls/wininet/tests/urlcache.c
index a38ed9bc5ba..f8ba90f7ab0 100644
--- a/dlls/wininet/tests/urlcache.c
+++ b/dlls/wininet/tests/urlcache.c
@@ -1176,8 +1176,8 @@ static void test_GetUrlCacheConfigInfo(void)
             get_cache_path(td[i].flags, path, path_win8);
 
             ok(info.dwStructSize == td[i].dwStructSize, "got %u\n", info.dwStructSize);
-            ok(!lstrcmpA(info.u.s.CachePath, path) || !lstrcmpA(info.u.s.CachePath, path_win8),
-               "%d: expected %s or %s, got %s\n", i, path, path_win8, info.u.s.CachePath);
+            ok(!lstrcmpA(info.CachePath, path) || !lstrcmpA(info.CachePath, path_win8),
+               "%d: expected %s or %s, got %s\n", i, path, path_win8, info.CachePath);
         }
     }
 }




More information about the wine-cvs mailing list