Mercurial > pidgin.yaz
comparison libgaim/privacy.c @ 14607:f23506e8f812
[gaim-migrate @ 17335]
Get rid of some checks to make sure gc is valid. They shouldn't be
necessary (and a lot of them were poorly implemented anyway). Let
me know if you notice any crashes.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 22 Sep 2006 05:42:01 +0000 |
parents | 96a21828d3d4 |
children | b17a907065cc |
comparison
equal
deleted
inserted
replaced
14606:a35ed72bf50a | 14607:f23506e8f812 |
---|---|
44 for (l = account->permit; l != NULL; l = l->next) { | 44 for (l = account->permit; l != NULL; l = l->next) { |
45 if (!gaim_utf8_strcasecmp(name, (char *)l->data)) | 45 if (!gaim_utf8_strcasecmp(name, (char *)l->data)) |
46 break; | 46 break; |
47 } | 47 } |
48 | 48 |
49 if (l != NULL) | 49 if (l != NULL) |
50 { | 50 { |
51 g_free(name); | 51 g_free(name); |
52 return FALSE; | 52 return FALSE; |
53 } | 53 } |
54 | 54 |
55 account->permit = g_slist_append(account->permit, name); | 55 account->permit = g_slist_append(account->permit, name); |
56 | 56 |
57 if (!local_only && gaim_account_is_connected(account)) | 57 if (!local_only && gaim_account_is_connected(account)) |