diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-10 09:36:43 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-10 09:36:43 +0000 |
commit | 47afa058a83bc8d969bb44700f8d4f04b46bbcbe (patch) | |
tree | 07e3a1367bc865f104589163b4d762f3f06a0e66 /lib/hostip.c | |
parent | 40e892bb36010778d1d7a30f399dd900fab01702 (diff) | |
download | curl-47afa058a83bc8d969bb44700f8d4f04b46bbcbe.tar.gz |
store times in time_t
Diffstat (limited to 'lib/hostip.c')
-rw-r--r-- | lib/hostip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index 8705cd515..5f61579ef 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -184,7 +184,7 @@ create_hostcache_id(char *server, int port, size_t *entry_len) struct hostcache_prune_data { int cache_timeout; - int now; + time_t now; }; static int @@ -205,7 +205,7 @@ hostcache_timestamp_remove(void *datap, void *hc) } static void -hostcache_prune(curl_hash *hostcache, int cache_timeout, int now) +hostcache_prune(curl_hash *hostcache, int cache_timeout, time_t now) { struct hostcache_prune_data user; |