Philip Gladstone's size problem in add_buffer_send()

This commit is contained in:
Daniel Stenberg 2002-02-18 22:41:52 +00:00
parent cc161b96ac
commit 535258ffe4

View File

@ -151,7 +151,7 @@ CURLcode add_buffer_send(int sockfd, struct connectdata *conn, send_buffer *in,
break; break;
if(amount != size) { if(amount != size) {
size += amount; size -= amount;
ptr += amount; ptr += amount;
} }
else else