Mercurial > pidgin
comparison src/protocols/toc/toc.c @ 2681:37d80035e77f
[gaim-migrate @ 2694]
don't ask.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Tue, 06 Nov 2001 23:58:24 +0000 |
| parents | 2ced57c58653 |
| children | e841b14b5b89 |
comparison
equal
deleted
inserted
replaced
| 2680:ab2ca2770d2e | 2681:37d80035e77f |
|---|---|
| 1035 buddies = buddies->next; | 1035 buddies = buddies->next; |
| 1036 } | 1036 } |
| 1037 sflap_send(g, buf, -1, TYPE_DATA); | 1037 sflap_send(g, buf, -1, TYPE_DATA); |
| 1038 } | 1038 } |
| 1039 | 1039 |
| 1040 static void toc_remove_buddy(struct gaim_connection *g, char *name) | 1040 static void toc_remove_buddy(struct gaim_connection *g, char *name, char *group) |
| 1041 { | 1041 { |
| 1042 char buf[BUF_LEN * 2]; | 1042 char buf[BUF_LEN * 2]; |
| 1043 g_snprintf(buf, sizeof(buf), "toc_remove_buddy %s", normalize(name)); | 1043 g_snprintf(buf, sizeof(buf), "toc_remove_buddy %s", normalize(name)); |
| 1044 sflap_send(g, buf, -1, TYPE_DATA); | 1044 sflap_send(g, buf, -1, TYPE_DATA); |
| 1045 toc_set_config(g); | 1045 toc_set_config(g); |
| 1046 } | 1046 } |
| 1047 | 1047 |
| 1048 static void toc_remove_buddies(struct gaim_connection *g, GList *buddies) | 1048 static void toc_remove_buddies(struct gaim_connection *g, GList *buddies, char *group) |
| 1049 { | 1049 { |
| 1050 char buf[BUF_LEN * 2]; | 1050 char buf[BUF_LEN * 2]; |
| 1051 int n; | 1051 int n; |
| 1052 | 1052 |
| 1053 n = g_snprintf(buf, sizeof(buf), "toc_remove_buddy"); | 1053 n = g_snprintf(buf, sizeof(buf), "toc_remove_buddy"); |
