Mercurial > pidgin.yaz
comparison libpurple/protocols/simple/simple.c @ 22487:b6bf5a5f261b
Use purple_str_has_prefix which provides backwards compatibility with older
Glib
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Mon, 17 Mar 2008 14:15:29 +0000 |
parents | b13bb5f49ecd |
children | c65c96e231b5 e4a4bc86c547 |
comparison
equal
deleted
inserted
replaced
22486:5ddb2a65e7ea | 22487:b6bf5a5f261b |
---|---|
1207 int i = 0; | 1207 int i = 0; |
1208 gchar **ssparts = g_strsplit(sshdr, ":", 0); | 1208 gchar **ssparts = g_strsplit(sshdr, ":", 0); |
1209 while (ssparts[i]) | 1209 while (ssparts[i]) |
1210 { | 1210 { |
1211 g_strchug(ssparts[i]); | 1211 g_strchug(ssparts[i]); |
1212 if (g_str_has_prefix(ssparts[i], "terminated")) | 1212 if (purple_str_has_prefix(ssparts[i], "terminated")) |
1213 { | 1213 { |
1214 purple_debug_info("simple", "Subscription expired!"); | 1214 purple_debug_info("simple", "Subscription expired!"); |
1215 g_free(b->dialog->ourtag); | 1215 g_free(b->dialog->ourtag); |
1216 g_free(b->dialog->theirtag); | 1216 g_free(b->dialog->theirtag); |
1217 g_free(b->dialog->callid); | 1217 g_free(b->dialog->callid); |