comparison libpurple/protocols/jabber/ping.c @ 27072:cb3e89f5a2d5

disapproval of revision '31f78d91abb7452e597bbd0f20f910c6cbb56099' This is annoying me and wasn't helpful for the Adium bug.
author Paul Aurich <paul@darkrain42.org>
date Sat, 27 Jun 2009 17:50:35 +0000
parents 5bbdb0a93c52
children 8c991e09efcb
comparison
equal deleted inserted replaced
27071:5bbdb0a93c52 27072:cb3e89f5a2d5
31 static void jabber_keepalive_pong_cb(JabberStream *js, const char *from, 31 static void jabber_keepalive_pong_cb(JabberStream *js, const char *from,
32 JabberIqType type, const char *id, 32 JabberIqType type, const char *id,
33 xmlnode *packet, gpointer data) 33 xmlnode *packet, gpointer data)
34 { 34 {
35 if (js->keepalive_timeout != 0) { 35 if (js->keepalive_timeout != 0) {
36 purple_debug_misc("jabber", "Keepalive PONG\n");
37 purple_timeout_remove(js->keepalive_timeout); 36 purple_timeout_remove(js->keepalive_timeout);
38 js->keepalive_timeout = 0; 37 js->keepalive_timeout = 0;
39 } else 38 }
40 purple_debug_warning("jabber", "Keepalive PONG with no outstanding timeout!\n");
41 } 39 }
42 40
43 void 41 void
44 jabber_ping_parse(JabberStream *js, const char *from, 42 jabber_ping_parse(JabberStream *js, const char *from,
45 JabberIqType type, const char *id, xmlnode *ping) 43 JabberIqType type, const char *id, xmlnode *ping)