From 296de597edc3e73433fc8f1a214cb4ae26727719 Mon Sep 17 00:00:00 2001 From: Jonathan Gillaspie Date: Thu, 27 Oct 2016 16:12:41 +0000 Subject: [PATCH] Only log successfull Bonjour if the logging flag is set git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@40182 72102866-910b-0410-8b05-ffd578937521 --- Source/win32/WIN32Server.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/win32/WIN32Server.m b/Source/win32/WIN32Server.m index f9fef1c..bc5fdab 100644 --- a/Source/win32/WIN32Server.m +++ b/Source/win32/WIN32Server.m @@ -1960,7 +1960,6 @@ LRESULT CALLBACK windowEnumCallback(HWND hwnd, LPARAM lParam) else { NSDebugMLLog(@"WIN32", @"service 'Bonjour' is installed"); - NSWarnMLog(@"service 'Bonjour' is installed"); result = YES; // Cleanup... @@ -2007,7 +2006,6 @@ LRESULT CALLBACK windowEnumCallback(HWND hwnd, LPARAM lParam) else { NSDebugMLLog(@"WIN32", @"service 'Bonjour' current state: %ld", serviceStatusInfo.dwCurrentState); - NSWarnMLog(@"service 'Bonjour' current state: %ld", serviceStatusInfo.dwCurrentState); result = (serviceStatusInfo.dwCurrentState == SERVICE_RUNNING); }