# HG changeset patch # User Richard Laager # Date 1124949823 0 # Node ID e9d0d944b9d2a1b4ec73ecca545d3325191b9963 # Parent b1f3c0d247f5824c459feba65fc4e45be39e8687 [gaim-migrate @ 13553] Patch #1270451 from Charlie Gordon "when write needs to be called several times to output the buffer, the data actually written is corrupted" This was a one-liner and looked correct to me. committer: Tailor Script diff -r b1f3c0d247f5 -r e9d0d944b9d2 COPYRIGHT --- a/COPYRIGHT Thu Aug 25 02:35:10 2005 +0000 +++ b/COPYRIGHT Thu Aug 25 06:03:43 2005 +0000 @@ -83,6 +83,7 @@ Evgueni V. Gavrilov Ignacy Gawedzki Michael Golden +Charlie Gordon Ryan C. Gordon Miah Gregory Christian Hammond diff -r b1f3c0d247f5 -r e9d0d944b9d2 src/protocols/msn/httpconn.c --- a/src/protocols/msn/httpconn.c Thu Aug 25 02:35:10 2005 +0000 +++ b/src/protocols/msn/httpconn.c Thu Aug 25 06:03:43 2005 +0000 @@ -142,7 +142,7 @@ do { - res = write(httpconn->fd, buf, buf_len); + res = write(httpconn->fd, buf + s, buf_len - s); if (res >= 0) { s += res;