Mercurial > pidgin
comparison src/protocols/oscar/ssi.c @ 4248:ea8fb193f5a0
[gaim-migrate @ 4498]
Heeeeeeeeeey Macarena
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 08 Jan 2003 07:28:54 +0000 |
parents | eae97ca4bbea |
children | ff0642fab1d5 |
comparison
equal
deleted
inserted
replaced
4247:3ea14f99c35c | 4248:ea8fb193f5a0 |
---|---|
856 | 856 |
857 if (!sess || !conn || !name) | 857 if (!sess || !conn || !name) |
858 return -EINVAL; | 858 return -EINVAL; |
859 | 859 |
860 /* Find the item */ | 860 /* Find the item */ |
861 if (!(del = aim_ssi_itemlist_finditem(sess->ssi.local, NULL, name, AIM_SSI_TYPE_PERMIT))) | 861 if (!(del = aim_ssi_itemlist_finditem(sess->ssi.local, NULL, name, AIM_SSI_TYPE_DENY))) |
862 return -EINVAL; | 862 return -EINVAL; |
863 | 863 |
864 /* Remove the item from the list */ | 864 /* Remove the item from the list */ |
865 aim_ssi_itemlist_del(&sess->ssi.local, del); | 865 aim_ssi_itemlist_del(&sess->ssi.local, del); |
866 | 866 |