summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-11-21 22:32:45 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-11-21 22:33:10 +0100
commit68992dfac34263d8da2ba9523342d92cbd6f6f98 (patch)
tree5578d84b8088ff48c51a236e7d02b2b3e0f9fa70
parent2984fe3503f3326c47887302727c7952f5ff5c80 (diff)
downloadcmumble-68992dfac34263d8da2ba9523342d92cbd6f6f98.tar.gz
cmumble-68992dfac34263d8da2ba9523342d92cbd6f6f98.tar.bz2
cmumble-68992dfac34263d8da2ba9523342d92cbd6f6f98.zip
message: Use g_printerr instead of printf
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 77de64c..6cb2c3c 100644
--- a/src/message.c
+++ b/src/message.c
@@ -108,7 +108,7 @@ cmumble_recv_msg(struct cmumble *cm)
get_preamble(preamble, &type, &len);
if (!(type >= 0 && type < G_N_ELEMENTS(messages))) {
- printf("unknown message type: %d\n", type);
+ g_printerr("unknown message type: %d\n", type);
return 0;
}