comparison src/protocols/oscar/txqueue.c @ 3048:e729c064bc1b

[gaim-migrate @ 3061] Some Image send fixes, and elimination of some compile warnings. There are still far too many (read: more than zero) committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 15 Mar 2002 00:56:15 +0000
parents e68e2ba82310
children 9682c0e022c6
comparison
equal deleted inserted replaced
3047:388230971b20 3048:e729c064bc1b
239 if (count) { 239 if (count) {
240 if ((conn->type == AIM_CONN_TYPE_RENDEZVOUS) && 240 if ((conn->type == AIM_CONN_TYPE_RENDEZVOUS) &&
241 (conn->subtype == AIM_CONN_SUBTYPE_OFT_DIRECTIM)) { 241 (conn->subtype == AIM_CONN_SUBTYPE_OFT_DIRECTIM)) {
242 /* I strongly suspect that this is a horrible thing to do 242 /* I strongly suspect that this is a horrible thing to do
243 * and I feel really guilty doing it. */ 243 * and I feel really guilty doing it. */
244 char *sn = aim_directim_getsn(conn); 244 const char *sn = aim_directim_getsn(conn);
245 aim_rxcallback_t userfunc; 245 aim_rxcallback_t userfunc;
246 while (count - wrote > 1024) { 246 while (count - wrote > 1024) {
247 wrote = wrote + aim_send(conn->fd, bs->data + bs->offset + wrote, 1024); 247 wrote = wrote + aim_send(conn->fd, bs->data + bs->offset + wrote, 1024);
248 if ((userfunc=aim_callhandler(conn->sessv, conn, 248 if ((userfunc=aim_callhandler(conn->sessv, conn,
249 AIM_CB_FAM_SPECIAL, 249 AIM_CB_FAM_SPECIAL,