winhttp: Prevent console spamming in get_system_proxy_autoconfig_url.
Jeremy Audiger
audiger at live.fr
Sat Jul 30 11:13:59 CDT 2016
When Battle.net is installing, I got a spam in the console from this function. This fix prevents it.
Signed-off-by: Jérémy Audiger <audiger at live.fr>
---
dlls/winhttp/session.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c
index 28587f5..30909ff 100644
--- a/dlls/winhttp/session.c
+++ b/dlls/winhttp/session.c
@@ -1351,7 +1351,14 @@ static BOOL get_system_proxy_autoconfig_url( char *buf, DWORD buflen )
CFRelease( settings );
return ret;
#else
- FIXME( "no support on this platform\n" );
+ static BOOL first = TRUE;
+ if (first)
+ {
+ FIXME( "no support on this platform\n" );
+ first = FALSE;
+ }
+ else
+ TRACE( "no support on this platform\n" );
return FALSE;
#endif
}
--
2.7.4
More information about the wine-patches
mailing list