Mercurial > pidgin.yaz
comparison src/protocols/bonjour/jabber.c @ 14055:44e1bf83dadf
[gaim-migrate @ 16668]
We have gaim_str_has_prefix() to use in place of g_str_has_prefix().
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 08 Aug 2006 00:25:19 +0000 |
parents | 6c907830a45f |
children |
comparison
equal
deleted
inserted
replaced
14054:51f71ad82141 | 14055:44e1bf83dadf |
---|---|
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); |