[gnome-nettool/gnome-3-0: 5/6] Hide debug message in normal operation



commit c103fbf87a44eea24a8c1900275c2a57f3ed26c1
Author: GermÃn Poo-CaamaÃo <gpoo gnome org>
Date:   Sat Dec 31 20:35:03 2011 -0800

    Hide debug message in normal operation
    
    Fix Bug #576983
    
    Signed-off-by: GermÃn Poo-CaamaÃo <gpoo gnome org>

 src/ping.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/ping.c b/src/ping.c
index cb23b04..ffe8470 100644
--- a/src/ping.c
+++ b/src/ping.c
@@ -341,8 +341,9 @@ ping_do (Netinfo * netinfo)
 						count_string, host);
 #endif
 		}
+#ifdef DEBUG
 		g_print("command: %s\n", command);
-
+#endif
 		netinfo->command_line = g_strsplit (command, " ", -1);
 	
 		netinfo_process_command (netinfo);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]