Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
21963:02153fd5a092 | 21964:eaaac273d80c |
---|---|
191 char *old_uri; | 191 char *old_uri; |
192 int old_length; | 192 int old_length; |
193 char *old_track; | 193 char *old_track; |
194 | 194 |
195 char *host; | 195 char *host; |
196 | |
197 /* A purple timeout tag for the keepalive */ | |
198 int keepalive_timeout; | |
196 }; | 199 }; |
197 | 200 |
198 typedef gboolean (JabberFeatureEnabled)(JabberStream *js, const gchar *shortname, const gchar *namespace); | 201 typedef gboolean (JabberFeatureEnabled)(JabberStream *js, const gchar *shortname, const gchar *namespace); |
199 | 202 |
200 typedef struct _JabberFeature | 203 typedef struct _JabberFeature |