]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Commented the Curl_read() arguments.
authorDaniel Stenberg <daniel@haxx.se>
Mon, 8 Mar 2004 12:37:46 +0000 (12:37 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Mar 2004 12:37:46 +0000 (12:37 +0000)
lib/sendf.c

index 661e7e72c7cf61217777aa58bc7d640f3c016fa4..fb0c45e3c95a7bf864a6e31c601777904c4db870 100644 (file)
@@ -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