# HG changeset patch # User Mark Doliner # Date 1042413231 0 # Node ID b3a14484fc2f7d4671ef7e2427db6c3fbaa10c71 # Parent 545d153a5341fa006d09b13ab0bacc738aebd694 [gaim-migrate @ 4562] Fix the "Remove" permit buddy button in le privacy dialogueueue. I also screwed around with a bit 'o syntax in ssi.c, and hopefully make the uin@pager.icq.com receiving thing nice. I _still_ don't know why I can't send an email through that reliably. committer: Tailor Script diff -r 545d153a5341 -r b3a14484fc2f src/dialogs.c --- a/src/dialogs.c Sun Jan 12 19:23:44 2003 +0000 +++ b/src/dialogs.c Sun Jan 12 23:13:51 2003 +0000 @@ -1394,7 +1394,7 @@ if (name) { current_deny_gc->permit = g_slist_remove(current_deny_gc->permit, name); - serv_rem_deny(current_deny_gc, who); + serv_rem_permit(current_deny_gc, who); build_allow_list(); } } else { diff -r 545d153a5341 -r b3a14484fc2f src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Sun Jan 12 19:23:44 2003 +0000 +++ b/src/protocols/oscar/oscar.c Sun Jan 12 23:13:51 2003 +0000 @@ -2242,7 +2242,7 @@ case 0x0e: { /* Someone has emailed you at your_uin@pager.icq.com */ if (i >= 6) { - gchar *dialog_msg = g_strdup_printf(_("You have received an ICQ email\n\n1=%s\n2=%s\n3=%s\n4=%s\n5=%s\n6=%s\n"), msg2[0], msg2[1], msg2[2], msg2[3], msg2[4], msg2[5]); + gchar *dialog_msg = g_strdup_printf(_("You have received an ICQ email from %s [%s]\n\nMessage is:\n%s"), msg2[0], msg2[3], msg2[5]); do_error_dialog("ICQ Email", dialog_msg, GAIM_INFO); g_free(dialog_msg); } diff -r 545d153a5341 -r b3a14484fc2f src/protocols/oscar/ssi.c --- a/src/protocols/oscar/ssi.c Sun Jan 12 19:23:44 2003 +0000 +++ b/src/protocols/oscar/ssi.c Sun Jan 12 23:13:51 2003 +0000 @@ -154,7 +154,7 @@ *list = new; } else { struct aim_ssi_item *prev; - for ((prev=*list, cur=(*list)->next); (cur && (new->gid > cur->gid || ((new->gid == cur->gid) && (new->bid > cur->bid)))); prev=cur, cur=cur->next); + for ((prev=*list, cur=(*list)->next); (cur && ((new->gid > cur->gid) || ((new->gid == cur->gid) && (new->bid > cur->bid)))); prev=cur, cur=cur->next); new->next = prev->next; prev->next = new; } @@ -180,7 +180,7 @@ /* Remove the item from the list */ if (*list == del) { - *list = del->next; + *list = (*list)->next; } else { struct aim_ssi_item *cur; for (cur=*list; (cur->next && (cur->next!=del)); cur=cur->next);