aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/hostip.c6
-rw-r--r--lib/hostip.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 2a0367795..2c7a23ed9 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -185,9 +185,9 @@ int Curl_num_addresses(const Curl_addrinfo *addr)
}
/*
- * Curl_printable_address() returns a printable version of the 1st
- * address given in the 2nd argument. The result will be stored in
- * the buf that is bufsize bytes big.
+ * Curl_printable_address() returns a printable version of the 1st address
+ * given in the 'ip' argument. The result will be stored in the buf that is
+ * bufsize bytes big.
*
* If the conversion fails, it returns NULL.
*/
diff --git a/lib/hostip.h b/lib/hostip.h
index 82aa4d59c..ecf6f4d48 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -136,9 +136,9 @@ void Curl_hostent_relocate(struct hostent *h, long offset);
Curl_addrinfo *Curl_addrinfo_copy(Curl_addrinfo *orig);
/*
- * Curl_printable_address() returns a printable version of the
- * 1st address given in the 2nd argument. The result will be stored
- * in the buf that is bufsize bytes big.
+ * Curl_printable_address() returns a printable version of the 1st address
+ * given in the 'ip' argument. The result will be stored in the buf that is
+ * bufsize bytes big.
*/
const char *Curl_printable_address(const Curl_ipconnect *ip,
char *buf, size_t bufsize);