]> arthur.barton.de Git - ngircd-alex.git/commit
Add "+DEBUG" to the version string only when configured with --enable-debug
authorAlexander Barton <alex@barton.de>
Mon, 2 Jan 2023 22:51:15 +0000 (23:51 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 2 Jan 2023 22:51:15 +0000 (23:51 +0100)
commit50114cd017a0a4799d8eb88cb2f53eafb7993c92
tree895e1c6f2709915f8d5894d3f248d32258c1eaf2
parentc7de505c919c5f550d848f9cafae99532bc1f789
Add "+DEBUG" to the version string only when configured with --enable-debug

The debug log messages are always available and a runtime option (since
commit c7de505c), but the assert()'s are only active when ngIRCd was
configured with the "--enable-debug" option.

So only add "+DEBUG" to the version string when the latter is the case.
src/ngircd/ngircd.c