gaim/gaim

Patch #1270451 from Charlie Gordon
oldstatus
2005-08-25, Richard Laager
f1a51edc017c
Parents bc21999240ae
Children 67fcac076567
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.
--- a/COPYRIGHT Mon Aug 22 17:59:14 2005 -0400
+++ b/COPYRIGHT Thu Aug 25 02:03:44 2005 -0400
@@ -74,6 +74,7 @@
Ignacy Gawedzki
Caleb Gilmour
Michael Golden
+Charlie Gordon
Ryan C. Gordon
Will Gorman
Miah Gregory
--- a/src/protocols/msn/httpconn.c Mon Aug 22 17:59:14 2005 -0400
+++ b/src/protocols/msn/httpconn.c Thu Aug 25 02:03:44 2005 -0400
@@ -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;