Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/ping.c @ 27577:6d26258e9f1d
propagate from branch 'im.pidgin.pidgin' (head ac87c285c7056f86005dc157b9870745de471f74)
to branch 'im.pidgin.cpw.darkrain42.roster' (head 976d874853ac9745edb77d3cf107b92ebc037c10)
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Mon, 06 Jul 2009 04:37:41 +0000 |
parents | cb3e89f5a2d5 |
children | 8c991e09efcb |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/ping.c Wed Jun 10 04:42:11 2009 +0000 +++ b/libpurple/protocols/jabber/ping.c Mon Jul 06 04:37:41 2009 +0000 @@ -32,9 +32,9 @@ JabberIqType type, const char *id, xmlnode *packet, gpointer data) { - if (js->keepalive_timeout >= 0) { + if (js->keepalive_timeout != 0) { purple_timeout_remove(js->keepalive_timeout); - js->keepalive_timeout = -1; + js->keepalive_timeout = 0; } }