summaryrefslogtreecommitdiff
path: root/lib/sendf.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-08 12:37:46 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-08 12:37:46 +0000
commit2c756fa1d7136712a012ff12dd344fcb695a4d04 (patch)
treee407c479f17509b57d2d8a3b02450ba9434c621f /lib/sendf.c
parent385086b460b881f28d06e8863f9f04b52193cae7 (diff)
downloadcurl-2c756fa1d7136712a012ff12dd344fcb695a4d04.tar.gz
Commented the Curl_read() arguments.
Diffstat (limited to 'lib/sendf.c')
-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