src/protocols/bonjour/jabber.c

changeset 14117
760e247123ee
parent 13972
50b7226d8519
equal deleted inserted replaced
14116:d336f7ec94a0 14117:760e247123ee
357 /* 357 /*
358 * Check that this is not the end of the conversation. This is 358 * Check that this is not the end of the conversation. This is
359 * using a magic string, but xmlnode won't play nice when just 359 * using a magic string, but xmlnode won't play nice when just
360 * parsing an end tag 360 * parsing an end tag
361 */ 361 */
362 if (g_str_has_prefix(message, STREAM_END) || (closed_conversation == TRUE)) { 362 if (gaim_str_has_prefix(message, STREAM_END) || (closed_conversation == TRUE)) {
363 /* Close the socket, clear the watcher and free memory */ 363 /* Close the socket, clear the watcher and free memory */
364 if (bb->conversation != NULL) { 364 if (bb->conversation != NULL) {
365 close(bb->conversation->socket); 365 close(bb->conversation->socket);
366 gaim_input_remove(bb->conversation->watcher_id); 366 gaim_input_remove(bb->conversation->watcher_id);
367 g_free(bb->conversation->buddy_name); 367 g_free(bb->conversation->buddy_name);

mercurial