[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-patches
Subject:    [1/1] winhttp: Prevent console spamming in get_system_proxy_autoconfig_url.
From:       Jeremy Audiger <audiger () live ! fr>
Date:       2016-07-30 15:46:12
Message-ID: DB6PR0801MB1638077F36B0C36B6D3EA221BF020 () DB6PR0801MB1638 ! eurprd08 ! prod ! outlook ! com
[Download RAW message or body]

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>
Signed-off-by: Jérémy Audiger <audiger@live.fr>
---
 dlls/winhttp/session.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c
index 28587f5..dcbe7da 100644
--- a/dlls/winhttp/session.c
+++ b/dlls/winhttp/session.c
@@ -1351,7 +1351,15 @@ 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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic