Factor log-locking out to the _LOG macro.
commit62b1e20bb57ef059dee7e9bfb8ea8cc19967a5f7
authorChristian Thaeter <ct@pipapo.org>
Fri, 18 Dec 2009 00:30:49 +0000 (18 01:30 +0100)
committerChristian Thaeter <ct@pipapo.org>
Fri, 18 Dec 2009 00:30:49 +0000 (18 01:30 +0100)
tree59a3e3e8be8c8fd73f96a1b5c5c4455fd50996c7
parent56773f0d4b531f00b8f5915937eccf57af02d7aa
Factor log-locking out to the _LOG macro.

the logging-log needs to protect the ++nobug_counter too. Unfortunally the
postlogging callback must be moved to the macros too now. At least its more
correct this way, maybe this needs some more refactoring in future to put
this back into the logging function.
src/nobug.c
src/nobug.h