diff --git a/lib/http.c b/lib/http.c index 357f81ef2..7a5e71afd 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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. */ diff --git a/lib/urldata.h b/lib/urldata.h index bb32b1751..09e6d84e1 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -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 */