diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-02-16 11:18:16 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-02-16 11:18:16 +0100 |
commit | 7ea6506c94edc7b7a5200538f5b32131c4f6d005 (patch) | |
tree | e8d49d1c14ddefe75ff0502a3eb7c0fab51aec21 /src/connection.c | |
parent | 3266ae9f23cc4dff4190eb9b287a137f0ec8a10b (diff) | |
download | cmumble-UDP.tar.gz cmumble-UDP.tar.bz2 cmumble-UDP.zip |
Add verbose optionUDP
Disable all debug output using that flag for now.
Diffstat (limited to 'src/connection.c')
-rw-r--r-- | src/connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |