diff options
Diffstat (limited to 'lib/speedcheck.c')
-rw-r--r-- | lib/speedcheck.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/speedcheck.c b/lib/speedcheck.c index 3860d10d6..0b393c0c7 100644 --- a/lib/speedcheck.c +++ b/lib/speedcheck.c @@ -51,7 +51,8 @@ CURLcode Curl_speedcheck(struct SessionHandle *data, for "low speed time" seconds we consider that enough reason to abort the download. */ - if( Curl_tvdiff(now, data->state.keeps_speed) > data->set.low_speed_time) { + if( (Curl_tvdiff(now, data->state.keeps_speed)/1000) > + data->set.low_speed_time) { /* we have been this slow for long enough, now die */ failf(data, "Operation too slow. " |