pidgin: 53e5db8f: I gave this way too long to stop getting...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Thu Apr 30 00:31:31 EDT 2009


-----------------------------------------------------------------
Revision: 53e5db8f67625c5fe432b4ec207cdc3f6a820c75
Ancestor: 2d5d7c3fe05abab533f27bcda6528dc363291dac
Author: darkrain42 at pidgin.im
Date: 2009-04-30T04:25:01
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/53e5db8f67625c5fe432b4ec207cdc3f6a820c75

Modified files:
        libpurple/protocols/jabber/ping.c

ChangeLog: 

I gave this way too long to stop getting on my nerves.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/ping.c	2a7be5eb1b9ad47afcb4f47fb782176bf6b9bfd2
+++ libpurple/protocols/jabber/ping.c	c7a4879d8eb35827324d43e881132ec5ce056f20
@@ -59,11 +59,11 @@ static void jabber_ping_result_cb(Jabber
 		/* 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");
 	}
 }
 


More information about the Commits mailing list