]> granicus.if.org Git - curl/commit
time: rename Curl_tvnow to Curl_now
authorDaniel Stenberg <daniel@haxx.se>
Wed, 25 Oct 2017 09:59:43 +0000 (11:59 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 25 Oct 2017 16:48:05 +0000 (18:48 +0200)
commit5d543fe90670c1924fd2c7d6be871b3ad90c438d
treed3d4f945d97ff52ab51c30b278f3d16e74e96883
parent1d72b5b8916e37191108b67ddfada2d1e1e00635
time: rename Curl_tvnow to Curl_now

... since the 'tv' stood for timeval and this function does not return a
timeval struct anymore.

Also, cleaned up the Curl_timediff*() functions to avoid typecasts and
clean up the descriptive comments.

Closes #2011
23 files changed:
lib/asyn-ares.c
lib/asyn-thread.c
lib/connect.c
lib/easy.c
lib/file.c
lib/ftp.c
lib/hostip.c
lib/multi.c
lib/pingpong.c
lib/pingpong.h
lib/progress.c
lib/rand.c
lib/select.c
lib/smtp.c
lib/ssh.c
lib/telnet.c
lib/tftp.c
lib/timeval.c
lib/timeval.h
lib/transfer.c
lib/url.c
lib/vtls/openssl.c
tests/unit/unit1399.c