]> granicus.if.org Git - curl/commitdiff
cleanup: fix method names in code comments
authorMichael Kaufmann <mail@michael-kaufmann.ch>
Tue, 21 Jun 2016 07:47:34 +0000 (09:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 21 Jun 2016 11:11:40 +0000 (13:11 +0200)
Closes #887

lib/http.c
lib/urldata.h

index 357f81ef241926519629518eca30765b7f07fe5f..7a5e71afda1b9c75ed0ecb051e2fee15aac28d7b 100644 (file)
@@ -1758,7 +1758,7 @@ CURLcode Curl_add_timecondition(struct SessionHandle *data,
 }
 
 /*
- * Curl_http() gets called from the generic Curl_do() function when a HTTP
+ * Curl_http() gets called from the generic multi_do() function when a HTTP
  * request is to be performed. This creates and sends a properly constructed
  * HTTP request.
  */
index bb32b17517d908f349c696d42555f4b3fad2bf50..09e6d84e1336b145b67b96fbd628a694df915820 100644 (file)
@@ -1347,9 +1347,9 @@ struct UrlState {
   size_t drain; /* Increased when this stream has data to read, even if its
                    socket is not necessarily is readable. Decreased when
                    checked. */
-  bool done; /* set to FALSE when Curl_do() is called and set to TRUE when
-                Curl_done() is called, to prevent Curl_done() to get invoked
-                twice when the multi interface is used. */
+  bool done; /* set to FALSE when Curl_init_do() is called and set to TRUE
+                when multi_done() is called, to prevent multi_done() to get
+                invoked twice when the multi interface is used. */
 
   curl_read_callback fread_func; /* read callback/function */
   void *in;                      /* CURLOPT_READDATA */