X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Flog.c;h=5cefd6e89b2d45c8a5fc729051d31289a3caae4e;hb=c8e0d0bd8cc515f60ab6a1248caf6fdc8945d89e;hp=ace2987c577e1556da501debc51b821963bbd8bf;hpb=e3355d3845678422c3a46741f7209f921c80cb70;p=swftools.git diff --git a/lib/log.c b/lib/log.c index ace2987..5cefd6e 100644 --- a/lib/log.c +++ b/lib/log.c @@ -27,7 +27,7 @@ #include "log.h" -static int screenloglevel = 1; +int screenloglevel = 1; static int fileloglevel = -1; static int socketloglevel = -1; static int maxloglevel = 1; @@ -244,7 +244,7 @@ static inline void log(char* logString) free (logBuffer); } -void logf(const char* format, ...) +void msg(const char* format, ...) { char buf[1024]; va_list arglist;