From e3355d3845678422c3a46741f7209f921c80cb70 Mon Sep 17 00:00:00 2001 From: kramm Date: Wed, 16 Jan 2002 12:02:29 +0000 Subject: [PATCH] fixed bug in logf. --- lib/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log.c b/lib/log.c index ffa0e17..ace2987 100644 --- a/lib/log.c +++ b/lib/log.c @@ -253,7 +253,7 @@ void logf(const char* format, ...) /* speed up hack */ if(format[0]=='<') { char*z = "fewnvd"; - char*x = strchr(z,format[0]); + char*x = strchr(z,format[1]); if(x && (x-z)>maxloglevel) return; } -- 1.7.10.4