aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sendf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 661e7e72c..fb0c45e3c 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -362,11 +362,11 @@ CURLcode Curl_client_write(struct SessionHandle *data,
* If the read would block (EWOULDBLOCK) we return -1. Otherwise we return
* a regular CURLcode value.
*/
-int Curl_read(struct connectdata *conn,
- int sockfd,
- char *buf,
- size_t buffersize,
- ssize_t *n)
+int Curl_read(struct connectdata *conn, /* connection data */
+ int sockfd, /* read from this file handle */
+ char *buf, /* store read data here */
+ size_t buffersize, /* max amount to read */
+ ssize_t *n) /* amount bytes read */
{
ssize_t nread;
#ifdef USE_SSLEAY