From 753131cf9b32315fdd11f2ce6e58b8f2d6ba3bc1 Mon Sep 17 00:00:00 2001 From: Michal Zima Date: Sun, 6 Dec 2009 22:58:26 +0100 Subject: Revised methods how are translated strings handled Few comments were made available to Doxygen --- src/base/proto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/base/proto.c') 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 */ -- cgit v1.2.3