diff options
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index 9b360be79..cb0bffce4 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -511,7 +511,8 @@ int Curl_read(struct connectdata *conn, /* connection data */ /* If session can pipeline, check connection buffer */ if(pipelining) { - size_t bytestocopy = CURLMIN(conn->buf_len - conn->read_pos, sizerequested); + size_t bytestocopy = CURLMIN(conn->buf_len - conn->read_pos, + sizerequested); /* Copy from our master buffer first if we have some unread data there*/ if(bytestocopy > 0) { @@ -528,8 +529,9 @@ int Curl_read(struct connectdata *conn, /* connection data */ buffertofill = conn->master_buffer; } else { - bytesfromsocket = CURLMIN((long)sizerequested, conn->data->set.buffer_size ? - conn->data->set.buffer_size : BUFSIZE); + bytesfromsocket = CURLMIN((long)sizerequested, + conn->data->set.buffer_size ? + conn->data->set.buffer_size : BUFSIZE); buffertofill = buf; } |