Module: ngircd.git Branch: master Commit: 037b4b76df6122f86d8c9536eb761664a5d71e53 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=037b4...
Author: Alexander Barton alex@barton.de Date: Sun Aug 26 12:04:40 2012 +0200
Check_Connections(): code cleanup
---
src/ngircd/conn.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 06236fd..28a0341 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -1839,10 +1839,10 @@ Check_Connections(void) if (My_Connections[i].lastping < time(NULL) - Conf_PongTimeout) { /* Timeout */ - LogDebug - ("Connection %d: Ping timeout: %d seconds.", - i, Conf_PongTimeout); - snprintf(msg, sizeof(msg), "Ping timeout: %d seconds", Conf_PongTimeout); + snprintf(msg, sizeof(msg), + "Ping timeout: %d seconds", + Conf_PongTimeout); + LogDebug("Connection %d: %s.", i, msg); Conn_Close(i, NULL, msg, true); } } else if (My_Connections[i].lastdata <