aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index b8ccfe256..91187aab8 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -125,8 +125,7 @@ static struct timeval notimeout={0,0};
* This function will call the read callback to fill our buffer with data
* to upload.
*/
-static int fillbuffer(struct connectdata *conn,
- int bytes)
+int Curl_fillreadbuffer(struct connectdata *conn, int bytes)
{
int buffersize = bytes;
int nread;
@@ -1124,7 +1123,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
break;
}
- nread = fillbuffer(conn, BUFSIZE);
+ nread = Curl_fillreadbuffer(conn, BUFSIZE);
}
else
nread = 0; /* we're done uploading/reading */