From 159592eaa3b7ba9135bf01b4015af0d7914805bf Mon Sep 17 00:00:00 2001 From: methodus Date: Sat, 15 Sep 2012 23:44:19 +0200 Subject: Master geleert --- common.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 common.cpp (limited to 'common.cpp') diff --git a/common.cpp b/common.cpp deleted file mode 100644 index 513317d..0000000 --- a/common.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/* - * File: common.cpp - * Author: savop - * - * Created on 17. April 2009, 20:53 - */ - -#include -#include "common.h" -#include "config.h" - -#define MESSAGE_SIZE 256 - -void message(int Level, const char* , int , const char* Format, ...){ - if(Level && cUPnPConfig::verbosity >= Level){ - va_list ap; - char Message[MESSAGE_SIZE]; - - snprintf(Message, sizeof(Message), "[%d] %s", cThread::ThreadId(), Format); - va_start(ap, Format); - vsyslog(LOG_NOTICE, Message, ap); - va_end(ap); - } -} \ No newline at end of file -- cgit v1.2.3