comparison src/protocols/oscar/ssi.c @ 3630:9682c0e022c6

[gaim-migrate @ 3753] Yeah this will probably break a lot of shit knowing my luck. But hey, I really don't care what people thnk. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Fri, 11 Oct 2002 03:14:01 +0000
parents 1e60a05c7482
children 43e396e94095
comparison
equal deleted inserted replaced
3629:afc5bb164c5a 3630:9682c0e022c6
498 if (!sess || !conn || !gn || !sn || !num) 498 if (!sess || !conn || !gn || !sn || !num)
499 return -EINVAL; 499 return -EINVAL;
500 500
501 /* Look up the parent group */ 501 /* Look up the parent group */
502 if (!(parentgroup = aim_ssi_itemlist_finditem(sess->ssi.items, NULL, gn, AIM_SSI_TYPE_GROUP))) { 502 if (!(parentgroup = aim_ssi_itemlist_finditem(sess->ssi.items, NULL, gn, AIM_SSI_TYPE_GROUP))) {
503 aim_ssi_addgroups(sess, conn, &gn, 1); 503 aim_ssi_addgroups(sess, conn, (const char **)&gn, 1);
504 if (!(parentgroup = aim_ssi_itemlist_finditem(sess->ssi.items, NULL, gn, AIM_SSI_TYPE_GROUP))) 504 if (!(parentgroup = aim_ssi_itemlist_finditem(sess->ssi.items, NULL, gn, AIM_SSI_TYPE_GROUP)))
505 return -ENOMEM; 505 return -ENOMEM;
506 } 506 }
507 507
508 /* Allocate an array of pointers to each of the new items */ 508 /* Allocate an array of pointers to each of the new items */