Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/jabber.h @ 21964:eaaac273d80c
Keep track of the keepalive timeout source so it can be removed when the account disconnects. This prevents a possible crash if the timeout fired after the account disconnected.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Wed, 02 Jan 2008 06:36:35 +0000 |
parents | d20a1c190c2f |
children | d63892ade0a6 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.h Sun Dec 30 10:07:50 2007 +0000 +++ b/libpurple/protocols/jabber/jabber.h Wed Jan 02 06:36:35 2008 +0000 @@ -193,6 +193,9 @@ char *old_track; char *host; + + /* A purple timeout tag for the keepalive */ + int keepalive_timeout; }; typedef gboolean (JabberFeatureEnabled)(JabberStream *js, const gchar *shortname, const gchar *namespace);