summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-11-10 09:27:12 +0100
committerPixel <pixel@nobis-crew.org>2011-11-10 09:27:12 +0100
commit8b7d47a50a72729374c11466eac6da752a8f8425 (patch)
treef99f75262d561d703d8cf8075db6ec2a5f89b73b
parent6a0edd7cce28d9a62350e4db39e1b2d1ce27ae4b (diff)
... didn't I already fix this one... ? Weird.
-rw-r--r--src/Printer.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Printer.cc b/src/Printer.cc
index 3190663..9216ec8 100644
--- a/src/Printer.cc
+++ b/src/Printer.cc
@@ -36,12 +36,10 @@ void Balau::Printer::_log(uint32_t level, const char * fmt, va_list ap) {
if (l & level)
break;
- Printer * printer = getPrinter();
-
m_lock.enter();
- printer->_print(prefixes[i]);
- printer->_print(fmt, ap);
- printer->_print("\n");
+ _print(prefixes[i]);
+ _print(fmt, ap);
+ _print("\n");
m_lock.leave();
}