]> git.meshlink.io Git - meshlink/commit
Avoid calling time(NULL).
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 8 Mar 2013 13:11:15 +0000 (14:11 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 8 Mar 2013 13:11:15 +0000 (14:11 +0100)
commit4c30004cb6dc23616d7295b0ce631f066e7f1f82
tree500766f0356a16be24dc37b6f2667e84aea62ecc
parentaf77e5d475d4d4ab7ad036e926a05f4f3b5c6589
Avoid calling time(NULL).

In most cases we can use the cached time.
src/graph.c
src/net.c
src/net_packet.c
src/net_setup.c
src/net_socket.c
src/protocol.c
src/protocol_auth.c
src/protocol_key.c
src/protocol_misc.c
src/route.c
src/tincd.c