Mercurial > pidgin
comparison src/protocols/toc/toc.c @ 3033:1143524a2eaf
[gaim-migrate @ 3046]
Laying the ground work for image send. Also an IRC fix.
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Tue, 12 Mar 2002 17:21:46 +0000 |
| parents | 8b03506b8c1e |
| children | 793fb2e9d53b |
comparison
equal
deleted
inserted
replaced
| 3032:d3536105d581 | 3033:1143524a2eaf |
|---|---|
| 917 static char *toc_name() | 917 static char *toc_name() |
| 918 { | 918 { |
| 919 return "TOC"; | 919 return "TOC"; |
| 920 } | 920 } |
| 921 | 921 |
| 922 static int toc_send_im(struct gaim_connection *gc, char *name, char *message, int flags) | 922 static int toc_send_im(struct gaim_connection *gc, char *name, char *message, int len, int flags) |
| 923 { | 923 { |
| 924 char buf[BUF_LEN * 2]; | 924 char buf[BUF_LEN * 2]; |
| 925 char *tmp = g_malloc(strlen(message) * 4 + 1); /* 4 because \n gets replaced with <BR> */ | 925 char *tmp = g_malloc(strlen(message) * 4 + 1); /* 4 because \n gets replaced with <BR> */ |
| 926 | 926 |
| 927 strcpy(tmp, message); | 927 strcpy(tmp, message); |
