changeset 26840:75b30b849293

I gave this way too long to stop getting on my nerves.
author Paul Aurich <paul@darkrain42.org>
date Thu, 30 Apr 2009 04:25:01 +0000
parents 43e1cdbc6b4b
children 6faa5d5b4f44
files libpurple/protocols/jabber/ping.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/ping.c	Thu Apr 30 04:01:27 2009 +0000
+++ b/libpurple/protocols/jabber/ping.c	Thu Apr 30 04:25:01 2009 +0000
@@ -59,11 +59,11 @@
 		/* If the pong is from the server, assume it's a result of the
 		 * keepalive functions */
 		jabber_keepalive_pong_cb(js);
-
-	if (type == JABBER_IQ_RESULT) {
-		purple_debug_info("jabber", "PONG!\n");
-	} else {
-		purple_debug_info("jabber", "(not supported)\n");
+	else {
+		if (type == JABBER_IQ_RESULT)
+			purple_debug_info("jabber", "PONG!\n");
+		else
+			purple_debug_info("jabber", "ping not supported\n");
 	}
 }