gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 62/254: transfer: fix minor buffer_size mistake


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 62/254: transfer: fix minor buffer_size mistake
Date: Sat, 17 Jun 2017 16:51:34 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.

commit 40a074f255de90003ab753f5d0ad61b74c62ca9b
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Apr 25 00:50:50 2017 +0200

    transfer: fix minor buffer_size mistake
---
 lib/transfer.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/transfer.c b/lib/transfer.c
index 72ab5446c..d6aac675b 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -405,8 +405,7 @@ static CURLcode readwrite_data(struct Curl_easy *data,
   /* This is where we loop until we have read everything there is to
      read or we get a CURLE_AGAIN */
   do {
-    size_t buffersize = data->set.buffer_size?
-      data->set.buffer_size : BUFSIZE;
+    size_t buffersize = data->set.buffer_size;
     size_t bytestoread = buffersize;
 
     if(

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]