]> The Tcpdump Group git mirrors - tcpdump/commit
Don't print timestamps to a buffer and then print the buffer.
authorGuy Harris <[email protected]>
Mon, 30 Jul 2018 02:16:42 +0000 (19:16 -0700)
committerGuy Harris <[email protected]>
Mon, 30 Jul 2018 02:16:42 +0000 (19:16 -0700)
commit230e0b85778df66f9cec62d13f0025c78cc0c9da
tree16b08e7fe7eaaffd362f5ad662a7ce5e4339d5d9
parent3712d818767d26ddecbaaf40de4c000a86620c6a
Don't print timestamps to a buffer and then print the buffer.

Just directly print them.  This means:

1) we don't have to worry about making a big enough buffer;

2) we don't get annoying warnings about string truncation
   due to invalid timestamp values;

3) we use a constant string as a format, so that the compiler
   can more easily do format string vs. format argument checks.
util-print.c