Changeset 4a0614e for protocols/jabber/io.c
- Timestamp:
- 2006-09-21T09:37:03Z (18 years ago)
- Branches:
- master
- Children:
- 5bcf70a
- Parents:
- dd788bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/io.c
rdd788bb r4a0614e 170 170 } 171 171 172 static gboolean jabber_start_stream( struct gaim_connection *gc );173 174 172 gboolean jabber_connected_plain( gpointer data, gint source, b_input_condition cond ) 175 173 { … … 210 208 }; 211 209 212 staticgboolean jabber_start_stream( struct gaim_connection *gc )210 gboolean jabber_start_stream( struct gaim_connection *gc ) 213 211 { 214 212 struct jabber_data *jd = gc->proto_data; … … 236 234 return st; 237 235 } 236 237 gboolean jabber_end_stream( struct gaim_connection *gc ) 238 { 239 struct jabber_data *jd = gc->proto_data; 240 char eos[] = "</stream:stream>"; 241 242 /* Let's only do this if the queue is currently empty, otherwise it'd 243 take too long anyway. */ 244 if( jd->tx_len > 0 ) 245 return TRUE; 246 else 247 return jabber_write( gc, eos, strlen( eos ) ); 248 }
Note: See TracChangeset
for help on using the changeset viewer.