changeset 27153:5bbdb0a93c52

Re-add annoying debug output for Adium#12351 (I must be missing something, because I don't see why it's occurring)
author Paul Aurich <paul@darkrain42.org>
date Sun, 07 Jun 2009 18:45:17 +0000
parents d570d1e10382
children cb3e89f5a2d5 c2c6ef44d66e
files libpurple/protocols/jabber/ping.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/ping.c	Sun Jun 07 17:07:33 2009 +0000
+++ b/libpurple/protocols/jabber/ping.c	Sun Jun 07 18:45:17 2009 +0000
@@ -33,9 +33,11 @@
                                      xmlnode *packet, gpointer data)
 {
 	if (js->keepalive_timeout != 0) {
+		purple_debug_misc("jabber", "Keepalive PONG\n");
 		purple_timeout_remove(js->keepalive_timeout);
 		js->keepalive_timeout = 0;
-	}
+	} else
+		purple_debug_warning("jabber", "Keepalive PONG with no outstanding timeout!\n");
 }
 
 void