Mercurial > pidgin
diff libpurple/protocols/jabber/ping.c @ 26758: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 | d00a8111e479 |
children | 6faa5d5b4f44 |
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"); } }