summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-28 10:12:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-28 10:13:39 +0200
commit155551c4465485dc4e754b0056f57cffcd925a94 (patch)
tree9d115c4e76aa3f75e1294c79973c6e1bc852d4d0
parent697f984ec97cb7217490b937fc8c280eb7d753fa (diff)
downloadcurl-155551c4465485dc4e754b0056f57cffcd925a94.tar.gz
urldata: fix comments: Curl_done() is called multi_done() now
... since 575e885db
-rw-r--r--docs/TODO2
-rw-r--r--lib/urldata.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/TODO b/docs/TODO
index cdae462af..1cf2d7efa 100644
--- a/docs/TODO
+++ b/docs/TODO
@@ -435,7 +435,7 @@
- GSSAPI authentication for FTP transfers
- The "DONE" operation (post transfer protocol-specific actions) for the
- protocols SFTP, SMTP, FTP. Fixing Curl_done() for this is a worthy task.
+ protocols SFTP, SMTP, FTP. Fixing multi_done() for this is a worthy task.
- curl_multi_remove_handle for any of the above. See section 2.3.
diff --git a/lib/urldata.h b/lib/urldata.h
index 60323311e..20ce5ed10 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -878,13 +878,13 @@ struct connectdata {
/* 'dns_entry' is the particular host we use. This points to an entry in the
DNS cache and it will not get pruned while locked. It gets unlocked in
- Curl_done(). This entry will be NULL if the connection is re-used as then
+ multi_done(). This entry will be NULL if the connection is re-used as then
there is no name resolve done. */
struct Curl_dns_entry *dns_entry;
/* 'ip_addr' is the particular IP we connected to. It points to a struct
within the DNS cache, so this pointer is only valid as long as the DNS
- cache entry remains locked. It gets unlocked in Curl_done() */
+ cache entry remains locked. It gets unlocked in multi_done() */
struct Curl_addrinfo *ip_addr;
struct Curl_addrinfo *tempaddr[2]; /* for happy eyeballs */