refactor nobug log-locking again
commitcd117641523847273e416b95561d8ead71eb4e49
authorChristian Thaeter <ct@pipapo.org>
Fri, 18 Dec 2009 02:01:15 +0000 (18 03:01 +0100)
committerChristian Thaeter <ct@pipapo.org>
Fri, 18 Dec 2009 02:01:15 +0000 (18 03:01 +0100)
tree1bff4caca487c2731ecc401c853123274476e58d
parentd3b0daa22166f8f977553ed3a394f320c0f5a90c
refactor nobug log-locking again

move the locking and post-callback back into the function.
nobug_counter is now intrinsic to the log function, uses ringbuffer_append
to complete a log message.
src/nobug.c
src/nobug.h