From 8b7d47a50a72729374c11466eac6da752a8f8425 Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 10 Nov 2011 09:27:12 +0100 Subject: ... didn't I already fix this one... ? Weird. --- src/Printer.cc | 8 +++----- 1 file 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(); } -- cgit v1.2.3