comparison libpurple/protocols/msn/slplink.c @ 30838:f86ebed1930a

Send buffer data when the message is not a xfer.
author masca@cpw.pidgin.im
date Thu, 01 Jul 2010 00:53:28 +0000
parents 210feb895031
children e2f1c3184302
comparison
equal deleted inserted replaced
30837:f13f06f1f515 30838:f86ebed1930a
306 len = slpmsg->size - slpmsg->offset; 306 len = slpmsg->size - slpmsg->offset;
307 307
308 if (len > MSN_SBCONN_MAX_SIZE) 308 if (len > MSN_SBCONN_MAX_SIZE)
309 len = MSN_SBCONN_MAX_SIZE; 309 len = MSN_SBCONN_MAX_SIZE;
310 310
311 msn_slpmsgpart_set_bin_data(part, slpmsg->slpcall->u.outgoing.data, len); 311 msn_slpmsgpart_set_bin_data(part, slpmsg->buffer + slpmsg->offset, len);
312 } 312 }
313 313
314 slpmsg->header->offset = slpmsg->offset; 314 slpmsg->header->offset = slpmsg->offset;
315 slpmsg->header->length = len; 315 slpmsg->header->length = len;
316 } 316 }