Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/ping.c @ 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 | d00a8111e479 |
children | 6faa5d5b4f44 |
comparison
equal
deleted
inserted
replaced
26839:43e1cdbc6b4b | 26840:75b30b849293 |
---|---|
57 { | 57 { |
58 if (purple_strequal(from, js->user->domain)) | 58 if (purple_strequal(from, js->user->domain)) |
59 /* If the pong is from the server, assume it's a result of the | 59 /* If the pong is from the server, assume it's a result of the |
60 * keepalive functions */ | 60 * keepalive functions */ |
61 jabber_keepalive_pong_cb(js); | 61 jabber_keepalive_pong_cb(js); |
62 | 62 else { |
63 if (type == JABBER_IQ_RESULT) { | 63 if (type == JABBER_IQ_RESULT) |
64 purple_debug_info("jabber", "PONG!\n"); | 64 purple_debug_info("jabber", "PONG!\n"); |
65 } else { | 65 else |
66 purple_debug_info("jabber", "(not supported)\n"); | 66 purple_debug_info("jabber", "ping not supported\n"); |
67 } | 67 } |
68 } | 68 } |
69 | 69 |
70 gboolean jabber_ping_jid(JabberStream *js, const char *jid) | 70 gboolean jabber_ping_jid(JabberStream *js, const char *jid) |
71 { | 71 { |