]> git.ipfire.org Git - thirdparty/curl.git/commit
timeouts: change millisecond timeouts to timediff_t from time_t
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 May 2020 22:08:03 +0000 (00:08 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 30 May 2020 21:10:57 +0000 (23:10 +0200)
commit842f73de58f38bd6e285e08bbd1adb6c17cb62cd
treec28cb0b85895d71f19373ab732736a5fa671ebff
parentfc55c723c4ecebabf12c32caddd0f9bc9d169ed4
timeouts: change millisecond timeouts to timediff_t from time_t

For millisecond timers we like timediff_t better. Also, time_t can be
unsigned so returning a negative value doesn't work then.

Closes #5479
15 files changed:
lib/asyn-thread.c
lib/ftp.c
lib/pingpong.c
lib/pingpong.h
lib/progress.c
lib/vssh/libssh2.c
lib/vtls/bearssl.c
lib/vtls/gskit.c
lib/vtls/gtls.c
lib/vtls/mbedtls.c
lib/vtls/mesalink.c
lib/vtls/openssl.c
lib/vtls/schannel.c
lib/vtls/sectransp.c
lib/vtls/wolfssl.c