diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-10-12 12:32:20 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-10-12 12:32:20 +0000 |
commit | 532bca41e59e10a86c356058831cf046a3ba78c9 (patch) | |
tree | dfaa7d33d510af6ea4db11724583ca0a26159cf7 /lib/url.c | |
parent | b438c46764b680a314000b7ca69bb1d898379d0f (diff) |
Curl_tvdiff() now returns a millisecond diff, no double like before
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1055,14 +1055,14 @@ ConnectionKillOne(struct SessionHandle *data) * Set higher score for the age passed since the connection * was used. */ - score = Curl_tvlong(now) - Curl_tvlong(conn->now); + score = Curl_tvdiff(now, conn->now); break; case CURLCLOSEPOLICY_OLDEST: /* * Set higher score for the age passed since the connection * was created. */ - score = Curl_tvlong(now) - Curl_tvlong(conn->created); + score = Curl_tvdiff(now, conn->created); break; } |