Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/presence.c @ 25758:7dcba13d0e28
Move structures and function definitions in to caps.c and stop any other code from killing JabberCapsClientInfo structures (owned by the hash table)
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sat, 22 Nov 2008 01:05:42 +0000 |
parents | 416ff3d65c16 |
children | 805aadbb1a85 |
comparison
equal
deleted
inserted
replaced
25757:0ccb80ae7262 | 25758:7dcba13d0e28 |
---|---|
393 g_free(userdata->from); | 393 g_free(userdata->from); |
394 g_free(userdata); | 394 g_free(userdata); |
395 return; | 395 return; |
396 } | 396 } |
397 | 397 |
398 if(jbr->caps) | 398 /* old value in jbr->caps is owned by caps code */ |
399 jabber_caps_free_clientinfo(jbr->caps); | |
400 jbr->caps = info; | 399 jbr->caps = info; |
401 | 400 |
402 if (info) { | 401 if (info) { |
403 GList *node = g_list_find_custom(info->features, "http://jabber.org/protocol/commands", (GCompareFunc)strcmp); | 402 GList *node = g_list_find_custom(info->features, "http://jabber.org/protocol/commands", (GCompareFunc)strcmp); |
404 if (node) { | 403 if (node) { |