From 0bdec5e01d9914d97bb9ed1301b1590162fe2945 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Tue, 21 Jun 2016 09:47:34 +0200 Subject: cleanup: fix method names in code comments Closes #887 --- lib/http.c | 2 +- lib/urldata.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') 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 */ -- cgit v1.2.3