diff options
Diffstat (limited to 'lib/hostip.c')
-rw-r--r-- | lib/hostip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index dd5916e33..6020cba3e 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -783,7 +783,7 @@ clean_up: the time we spent until now! */ if(prev_alarm) { /* there was an alarm() set before us, now put it back */ - timediff_t elapsed_secs = Curl_timediff(Curl_now(), + timediff_t elapsed_secs = Curl_timediff(data->multi->mnow, conn->created) / 1000; /* the alarm period is counted in even number of seconds */ |