comparison src/protocols/oscar/oscar.c @ 3782:a3aca202aa04

[gaim-migrate @ 3922] I lose. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 22 Oct 2002 00:45:58 +0000
parents 765769211688
children 62f1fd706de6
comparison
equal deleted inserted replaced
3781:c2394f352015 3782:a3aca202aa04
4507 at += g_snprintf(buf + at, sizeof(buf) - at, "%s&", (char *)list->data); 4507 at += g_snprintf(buf + at, sizeof(buf) - at, "%s&", (char *)list->data);
4508 list = list->next; 4508 list = list->next;
4509 } 4509 }
4510 aim_bos_changevisibility(od->sess, od->conn, AIM_VISIBILITYCHANGE_DENYADD, buf); 4510 aim_bos_changevisibility(od->sess, od->conn, AIM_VISIBILITYCHANGE_DENYADD, buf);
4511 break; 4511 break;
4512 default: 4512 case 5:
4513 GList *g = gc->groups;
4514 at = 0;
4515 while (g) {
4516 list = ((struct group *)g->data)->members;
4517 while (list) {
4518 at += g_snprintf(buf + at, sizeof(buf) - at, "%s&", (char *)list->data);
4519 list = list->next;
4520 }
4521 g = g->next;
4522 }
4523 aim_bos_changevisibility(od->sess, od->conn, AIM_VISIBILITYCHANGE_PERMITADD, buf);
4524 break;
4525 default:
4513 break; 4526 break;
4514 } 4527 }
4515 signoff_blocked(gc); 4528 signoff_blocked(gc);
4516 } else { 4529 } else {
4517 if (od->sess->ssi.received_data) 4530 if (od->sess->ssi.received_data)