mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
winhttp-System_Proxy_Autoconfig: Also silence 'no support on this platform' in wininet.
This commit is contained in:
parent
2bc55e66c3
commit
bdfd218e7e
@ -5589,12 +5589,14 @@ fi
|
||||
# Patchset winhttp-System_Proxy_Autoconfig
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/winhttp/session.c
|
||||
# | * dlls/winhttp/session.c, dlls/wininet/internet.c
|
||||
# |
|
||||
if test "$enable_winhttp_System_Proxy_Autoconfig" -eq 1; then
|
||||
patch_apply winhttp-System_Proxy_Autoconfig/0001-winhttp-Silence-repeated-no-support-on-this-platform.patch
|
||||
patch_apply winhttp-System_Proxy_Autoconfig/0002-wininet-Silence-wininet-no-support-on-this-platform-.patch
|
||||
(
|
||||
echo '+ { "Jarkko Korpi", "winhttp: Silence repeated \"no support on this platform\" message.", 1 },';
|
||||
echo '+ { "Jarkko Korpi", "wininet: Silence wininet no support on this platform message.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
|
@ -0,0 +1,26 @@
|
||||
From e5466e251a5dc694ef214d5c96bf59ebb767f6a4 Mon Sep 17 00:00:00 2001
|
||||
From: Jarkko Korpi <jarkko_korpi@hotmail.com>
|
||||
Date: Sat, 1 Aug 2015 06:45:35 +0300
|
||||
Subject: wininet: Silence wininet no support on this platform message.
|
||||
|
||||
---
|
||||
dlls/wininet/internet.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
|
||||
index ee04f40..c512a5c 100644
|
||||
--- a/dlls/wininet/internet.c
|
||||
+++ b/dlls/wininet/internet.c
|
||||
@@ -2416,7 +2416,8 @@ static BOOL get_proxy_autoconfig_url( char *buf, DWORD buflen )
|
||||
CFRelease( settings );
|
||||
return ret;
|
||||
#else
|
||||
- FIXME( "no support on this platform\n" );
|
||||
+ static int once;
|
||||
+ if (!once++) FIXME( "no support on this platform\n" );
|
||||
return FALSE;
|
||||
#endif
|
||||
}
|
||||
--
|
||||
2.5.0
|
||||
|
Loading…
Reference in New Issue
Block a user