# HG changeset patch # User Elliott Sales de Andrade # Date 1273044835 0 # Node ID 99f81d97cbe66d4973a9f129968ffbd1e7bf1591 # Parent b0a7b31dcc5d1961afae6ef8f0cc0cf714db4497 I'm pretty sure we need to actually use dc->msg_pos for something, instead of re-sending the same initial bytes. diff -r b0a7b31dcc5d -r 99f81d97cbe6 libpurple/protocols/msn/directconn.c --- a/libpurple/protocols/msn/directconn.c Wed May 05 07:32:45 2010 +0000 +++ b/libpurple/protocols/msn/directconn.c Wed May 05 07:33:55 2010 +0000 @@ -556,7 +556,7 @@ } bytes_to_send = p->length - dc->msg_pos; - bytes_sent = send(fd, p->data, bytes_to_send, 0); + bytes_sent = send(fd, p->data + dc->msg_pos, bytes_to_send, 0); if (bytes_sent < 0) { if ((errno == EAGAIN) || (errno == EWOULDBLOCK)) return;