diff options
author | Michael Kaufmann <mail@michael-kaufmann.ch> | 2016-06-21 09:47:34 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-06-21 13:11:40 +0200 |
commit | 0bdec5e01d9914d97bb9ed1301b1590162fe2945 (patch) | |
tree | d013440edb0f9975ad98ea10cf50b2e220439b68 /lib | |
parent | b2dcf0347f1ee5041cccd64632bb8dd7ccbbae91 (diff) |
cleanup: fix method names in code comments
Closes #887
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http.c | 2 | ||||
-rw-r--r-- | lib/urldata.h | 6 |
2 files changed, 4 insertions, 4 deletions
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 */ |