summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-06-15 08:51:26 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-06-15 08:51:26 +0000
commit57bf8f040067272b6eb74f47b92278b55c5e0956 (patch)
treed12fdd43a196a83303f0306c0cf46e7421a369b4
parente381d8497e3c5c992942acd964f16ea7b87dc5a4 (diff)
downloadrsyslog-57bf8f040067272b6eb74f47b92278b55c5e0956.tar.gz
rsyslog-57bf8f040067272b6eb74f47b92278b55c5e0956.tar.xz
rsyslog-57bf8f040067272b6eb74f47b92278b55c5e0956.zip
fixed a bug that caused compilation on debian to fail
-rw-r--r--syslogd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/syslogd.c b/syslogd.c
index f42c16b3..ad9649e0 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -7734,12 +7734,15 @@ void dprintf(char *fmt, ...)
return;
# ifdef USE_PTHREADS
- /* TODO: The bWasNL handler does not really work. It works if no thread
+ /* The bWasNL handler does not really work. It works if no thread
* switching occurs during non-NL messages. Else, things are messed
* up. Anyhow, it works well enough to provide useful help during
* getting this up and running. It is questionable if the extra effort
* is worth fixing it, giving the limited appliability.
* rgerhards, 2005-10-25
+ * I have decided that it is not worth fixing it - especially as it works
+ * pretty well.
+ * rgerhards, 2007-06-15
*/
if(bWasNL) {
fprintf(stdout, "%8.8d: ", (unsigned int) pthread_self());