cleanup: fix method names in code comments

Closes #887
This commit is contained in:
Michael Kaufmann 2016-06-21 09:47:34 +02:00 committed by Daniel Stenberg
parent b2dcf0347f
commit 0bdec5e01d
2 changed files with 4 additions and 4 deletions

View 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.
*/

View 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 */