comparison src/protocols/toc/toc.c @ 6787:faa491042c66

[gaim-migrate @ 7326] the add_buddy prpl op now takes a group. It's horribly inconsistent with the rest. This stuff all needs to be updated. Maybe I'll replace it in 0.70cvs. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 07 Sep 2003 23:47:00 +0000
parents 0c5637b5462e
children 4146b836ba0a
comparison
equal deleted inserted replaced
6786:8efafdc38718 6787:faa491042c66
1165 char buf[BUF_LEN * 2]; 1165 char buf[BUF_LEN * 2];
1166 g_snprintf(buf, BUF_LONG, "toc_change_passwd %s %s", orig, new); 1166 g_snprintf(buf, BUF_LONG, "toc_change_passwd %s %s", orig, new);
1167 sflap_send(g, buf, -1, TYPE_DATA); 1167 sflap_send(g, buf, -1, TYPE_DATA);
1168 } 1168 }
1169 1169
1170 static void toc_add_buddy(GaimConnection *g, const char *name) 1170 static void toc_add_buddy(GaimConnection *g, const char *name, GaimGroup *group)
1171 { 1171 {
1172 char buf[BUF_LEN * 2]; 1172 char buf[BUF_LEN * 2];
1173 g_snprintf(buf, sizeof(buf), "toc_add_buddy %s", normalize(name)); 1173 g_snprintf(buf, sizeof(buf), "toc_add_buddy %s", normalize(name));
1174 sflap_send(g, buf, -1, TYPE_DATA); 1174 sflap_send(g, buf, -1, TYPE_DATA);
1175 toc_set_config(g); 1175 toc_set_config(g);