src/protocols/napster/napster.c

changeset 3033
1f078ab46e76
parent 2856
046ed5e89321
child 3322
66f209f1ebbd
equal deleted inserted replaced
3032:605b2ba40cf2 3033:1f078ab46e76
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);

mercurial