From: Jānis Rūcis Date: Wed, 31 Mar 2010 17:53:33 +0000 (+0300) Subject: IRC: mark developer prints X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=84ae4ed5da2b29f588a64e95dd6324b8808ebccb;p=xonotic%2Fdarkplaces.git IRC: mark developer prints --- diff --git a/irc.c b/irc.c index 6aeeb82b..e5e1f6e8 100644 --- a/irc.c +++ b/irc.c @@ -85,7 +85,7 @@ static void IRC_AddMessage(const char *message) irc_outgoing.len += len + 2; - Con_Printf("[IRC] %lu bytes waiting to be written\n", (unsigned long) irc_outgoing.len); + Con_DPrintf("[IRC] %lu bytes waiting to be written\n", (unsigned long) irc_outgoing.len); } static ircmessage_t *IRC_AllocMessage(void) @@ -203,11 +203,11 @@ static void IRC_DumpMessage(const ircmessage_t *msg) { int i; - Con_Printf("[IRC] prefix : %s\n", msg->prefix ? msg->prefix : ""); - Con_Printf("[IRC] command: %s\n", msg->command); + Con_DPrintf("[IRC] prefix : %s\n", msg->prefix ? msg->prefix : ""); + Con_DPrintf("[IRC] command: %s\n", msg->command); for (i = 0; i < msg->args_num; i++) - Con_Printf("[IRC] arg %-3d: %s\n", i, msg->args[i]); + Con_DPrintf("[IRC] arg %-3d: %s\n", i, msg->args[i]); } static void IRC_ProcessMessage(const char *line) @@ -272,7 +272,7 @@ static void IRC_ReadMessages(void) if (read > 0) { - Con_Printf("[IRC] Read %d bytes\n", read); + Con_DPrintf("[IRC] Read %d bytes\n", read); irc_incoming.len += read; IRC_ProcessAllMessages(); } @@ -287,7 +287,7 @@ static void IRC_WriteMessages(void) if (written > 0) { - Con_Printf("[IRC] Wrote %d bytes\n", written); + Con_DPrintf("[IRC] Wrote %d bytes\n", written); memmove(irc_outgoing.data, irc_outgoing.data + written, irc_outgoing.len - written); irc_outgoing.len -= written; }