diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-01-06 22:01:43 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-01-07 14:06:12 +0000 |
commit | 9547954978c9b8c27afac581efab18b5b910648d (patch) | |
tree | 02f8bd4c6b903945f56fd6e4150f19cf9b667549 /lib/hostip.h | |
parent | 4626f31d0ed38fa9afbe50dbd85e8e5f81a1c169 (diff) | |
download | curl-9547954978c9b8c27afac581efab18b5b910648d.tar.gz |
hostip: remove 'stale' argument from Curl_fetch_addr proto
Also, remove the log output of the resolved name is NOT in the cache in
the spirit of only telling when something is actually happening.
Diffstat (limited to 'lib/hostip.h')
-rw-r--r-- | lib/hostip.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/hostip.h b/lib/hostip.h index 7d4896016..e1e880eab 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -179,9 +179,7 @@ const char *Curl_printable_address(const Curl_addrinfo *ip, struct Curl_dns_entry * Curl_fetch_addr(struct connectdata *conn, const char *hostname, - int port, - int *stale); - + int port); /* * Curl_cache_addr() stores a 'Curl_addrinfo' struct in the DNS cache. * |