]> git.gsnw.org Git - fping.git/commit
fix debug build use of dbg_printf in fping.c
authorErik Auerswald <auerswal@unix-ag.uni-kl.de>
Sat, 8 Mar 2025 19:02:53 +0000 (20:02 +0100)
committerErik Auerswald <auerswal@unix-ag.uni-kl.de>
Sun, 6 Apr 2025 15:24:15 +0000 (17:24 +0200)
commit50cba081dcfa586aad8a5c600c751f44fea107e2
tree1dbf6515dc26d3e7ee985afe6c2689b4e9767e4b
parent4160d03a2653684b37a776744095aac43f7efc88
fix debug build use of dbg_printf in fping.c

config.h must be include before fping.h, because
configure --enable-debug writes the DEBUG #define
to config.h, and the dbg_printf macro definition
requires a defined DEBUG to actually produce any
output.

Unbreaking dbg_printf() exposed an instance of
wrong use, so fix that.  Also, add a newline to
the debug output reporting used CPU time.
src/fping.c