]> git.ipfire.org Git - thirdparty/mtr.git/commit
posix: do not use time(2) input argument
authorSami Kerola <kerolasa@iki.fi>
Mon, 29 Aug 2016 21:38:05 +0000 (22:38 +0100)
committerSami Kerola <kerolasa@iki.fi>
Tue, 30 Aug 2016 22:24:53 +0000 (23:24 +0100)
commit0f9e8e23ceb84b54c600a1274ee42b3f5df4f4f4
treea0f3fa406983770fabba945b1b9ae8007edd99b7
parente5f7fd11ad9d8374a872351d74ab3c6bfdb961bd
posix: do not use time(2) input argument

Function time(2) argument is obsolescent and should always be NULL in new
code.  When the argument is NULL, the call cannot fail.

Reference: http://man7.org/linux/man-pages/man2/time.2.html
curses.c