From 7ea6506c94edc7b7a5200538f5b32131c4f6d005 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 16 Feb 2012 11:18:16 +0100 Subject: Add verbose option Disable all debug output using that flag for now. --- src/connection.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/connection.c') diff --git a/src/connection.c b/src/connection.c index 7f4a312..ca624f9 100644 --- a/src/connection.c +++ b/src/connection.c @@ -91,7 +91,8 @@ do_udp_ping(struct cmumble *cm) send_udp(cm, data, pos); - g_print("udp ping sent: timestamp: %ld\n", tv.tv_sec); + if (cm->verbose) + g_print("udp ping sent: timestamp: %ld\n", tv.tv_sec); } void -- cgit