]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[CLEANUP] added the correct cast to call localtime()
authorWilly Tarreau <w@1wt.eu>
Sun, 15 Oct 2006 20:54:47 +0000 (22:54 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 15 Oct 2006 20:54:47 +0000 (22:54 +0200)
commitbf73613543e99ac53cba3cca9465b538fad73aa2
tree0dfe764396eebeca9e18ae1242280112cf611633
parentfb278677e2a76b9a2f067f7a04350815cc6f1e1e
[CLEANUP] added the correct cast to call localtime()

Calling localtime() with a timeval.tv_sec causes a warning on
OpenBSD where the tv_sec is declared long.
src/haproxy.c
src/log.c