From: Luke S. <lsc...@us...> - 2004-04-12 18:21:33
|
Update of /cvsroot/gaim/gaim/src/protocols/zephyr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14630/src/protocols/zephyr Modified Files: zephyr.c Log Message: fix for bug 932991 Index: zephyr.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/zephyr/zephyr.c,v retrieving revision 1.84 retrieving revision 1.85 diff -u -d -p -r1.84 -r1.85 --- zephyr.c 5 Apr 2004 20:42:13 -0000 1.84 +++ zephyr.c 12 Apr 2004 18:07:42 -0000 1.85 @@ -1028,21 +1028,20 @@ static void zephyr_add_buddies(GaimConne static void zephyr_remove_buddy(GaimConnection *gc, const char *buddy, const char *group) { GaimBuddy *b; - fprintf(stderr,"In zephyr_remove_buddy\n"); - if ((b=gaim_find_buddy(zgc->account,buddy))) - gaim_blist_remove_buddy(b); - else + fprintf(stderr,"In zephyr_remove_buddy %s %s\n",buddy,group); + if (!(b=gaim_find_buddy(zgc->account,buddy))) { fprintf(stderr,"attempt to remove non-existent buddy %s\n",buddy); + /* gaim_blist_remove_buddy(b); */ + } } static void zephyr_remove_buddies(GaimConnection *gc, GList *buddies, const char *group) { GaimBuddy *b; while(buddies) { if ((b=gaim_find_buddy(zgc->account,buddies->data))) { - gaim_blist_remove_buddy(b); - } else { fprintf(stderr,"attempt to remove non-existent buddy %s\n",(char *)buddies->data); - } + /* gaim_blist_remove_buddy(b); */ + } } } |