Changeset b5c8a34
- Timestamp:
- 2008-01-24T22:49:47Z (17 years ago)
- Branches:
- master
- Children:
- 764c7d1, f774e01
- Parents:
- 613cc55
- Location:
- protocols/jabber
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/io.c
r613cc55 rb5c8a34 249 249 struct im_connection *ic = data; 250 250 251 if( g_slist_find( jabber_connections, ic ) == NULL ) 252 return FALSE; 253 251 254 if( source == -1 ) 252 255 { … … 264 267 { 265 268 struct im_connection *ic = data; 266 struct jabber_data *jd = ic->proto_data; 269 struct jabber_data *jd; 270 271 if( g_slist_find( jabber_connections, ic ) == NULL ) 272 return FALSE; 273 274 jd = ic->proto_data; 267 275 268 276 if( source == NULL ) -
protocols/jabber/jabber.c
r613cc55 rb5c8a34 35 35 #include "base64.h" 36 36 37 GSList *jabber_connections; 38 37 39 static void jabber_init( account_t *acc ) 38 40 { … … 70 72 struct ns_srv_reply *srv = NULL; 71 73 char *connect_to, *s; 74 75 /* For now this is needed in the _connected() handlers if using 76 GLib event handling, to make sure we're not handling events 77 on dead connections. */ 78 jabber_connections = g_slist_prepend( jabber_connections, ic ); 72 79 73 80 jd->ic = ic; … … 263 270 g_free( jd->username ); 264 271 g_free( jd ); 272 273 jabber_connections = g_slist_remove( jabber_connections, ic ); 265 274 } 266 275 -
protocols/jabber/jabber.h
r613cc55 rb5c8a34 29 29 #include "xmltree.h" 30 30 #include "bitlbee.h" 31 32 extern GSList *jabber_connections; 31 33 32 34 typedef enum
Note: See TracChangeset
for help on using the changeset viewer.