summaryrefslogtreecommitdiff
path: root/src/base/proto.c
diff options
context:
space:
mode:
authorMichal Zima <xhire@mujmalysvet.cz>2009-12-06 22:58:26 +0100
committerMichal Zima <xhire@mujmalysvet.cz>2009-12-06 22:58:26 +0100
commit753131cf9b32315fdd11f2ce6e58b8f2d6ba3bc1 (patch)
treecfbded574ded7c3c666de6211877469ff6a95d75 /src/base/proto.c
parenta0939379bb1185ee6d66739d9d021466d5d89624 (diff)
Revised methods how are translated strings handled
Few comments were made available to Doxygen
Diffstat (limited to 'src/base/proto.c')
-rw-r--r--src/base/proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/proto.c b/src/base/proto.c
index 1c56653..f3f66ff 100644
--- a/src/base/proto.c
+++ b/src/base/proto.c
@@ -59,7 +59,7 @@ void proto_recv_error_client(char *msg)
return;
}
- DEBUG_MSG(_("[Debug] Communication error [%d]\n"), errorcode);
+ debug("Communication error [%d]", errorcode);
switch (errorcode) {
case PROTO_ERROR_CODE_BAD_VERSION:
@@ -84,7 +84,7 @@ void proto_send_hello_client(char *name)
snprintf(msg, STR_PROTO_SIZE, "hello %s %s\n",
getParamElse("--version", TUXANCI_VERSION), name);
- printf(_("[Debug] Sending: %s\n"), msg);
+ debug("Sending: %s", msg);
client_send(msg);
}
#endif /* PUBLIC_SERVER */