Mercurial > pidgin
comparison src/protocols/napster/napster.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 | b1e300a85678 |
children | b77edfedc39f |
comparison
equal
deleted
inserted
replaced
3032:d3536105d581 | 3033:1143524a2eaf |
---|---|
75 write(ndata->fd, &size, 2); | 75 write(ndata->fd, &size, 2); |
76 write(ndata->fd, &command, 2); | 76 write(ndata->fd, &command, 2); |
77 write(ndata->fd, message, size); | 77 write(ndata->fd, message, size); |
78 } | 78 } |
79 | 79 |
80 static int nap_send_im(struct gaim_connection *gc, char *who, char *message, int flags) | 80 static int nap_send_im(struct gaim_connection *gc, char *who, char *message, int len, int flags) |
81 { | 81 { |
82 gchar buf[NAP_BUF_LEN]; | 82 gchar buf[NAP_BUF_LEN]; |
83 | 83 |
84 g_snprintf(buf, NAP_BUF_LEN, "%s %s", who, message); | 84 g_snprintf(buf, NAP_BUF_LEN, "%s %s", who, message); |
85 nap_write_packet(gc, 0xCD, buf); | 85 nap_write_packet(gc, 0xCD, buf); |