comparison src/protocols/oscar/oscar.c @ 7631:ea2d07ad05a9

[gaim-migrate @ 8255] long car rides and a power inverter can generate some interesting code tweaks committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 25 Nov 2003 07:16:11 +0000
parents bfe3a796b2c2
children 6a4d65df3f1c
comparison
equal deleted inserted replaced
7630:2df4d470c12a 7631:ea2d07ad05a9
2714 /* Ack for authorizing/denying someone. Or possibly an ack for sending any system notice */ 2714 /* Ack for authorizing/denying someone. Or possibly an ack for sending any system notice */
2715 /* Someone added you to their buddy list? */ 2715 /* Someone added you to their buddy list? */
2716 } break; 2716 } break;
2717 2717
2718 case 0x13: { /* Someone has sent you some ICQ buddies */ 2718 case 0x13: { /* Someone has sent you some ICQ buddies */
2719 int i, num; 2719 guint i, num;
2720 gchar **text; 2720 gchar **text;
2721 text = g_strsplit(args->msg, "\376", 0); 2721 text = g_strsplit(args->msg, "\376", 0);
2722 if (text) { 2722 if (text) {
2723 num = 0; 2723 num = 0;
2724 for (i=0; i<strlen(text[0]); i++) 2724 for (i=0; i<strlen(text[0]); i++)
5344 OscarData *od = (OscarData *)g->proto_data; 5344 OscarData *od = (OscarData *)g->proto_data;
5345 GSList *bcs = g->buddy_chats; 5345 GSList *bcs = g->buddy_chats;
5346 GaimConversation *b = NULL; 5346 GaimConversation *b = NULL;
5347 struct chat_connection *c = NULL; 5347 struct chat_connection *c = NULL;
5348 char *buf, *buf2; 5348 char *buf, *buf2;
5349 int i, j; 5349 guint i, j;
5350 5350
5351 while (bcs) { 5351 while (bcs) {
5352 b = (GaimConversation *)bcs->data; 5352 b = (GaimConversation *)bcs->data;
5353 if (id == gaim_conv_chat_get_id(GAIM_CONV_CHAT(b))) 5353 if (id == gaim_conv_chat_get_id(GAIM_CONV_CHAT(b)))
5354 break; 5354 break;