From a1ba13fa7c49eb1c4fbd23028b5b948d7ec18d10 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Tue, 22 Feb 2011 14:23:12 +0000 Subject: [PATCH] Remove excessive log warning --- golded3/geutil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/golded3/geutil.cpp b/golded3/geutil.cpp index 2230e4f..5cf11b1 100644 --- a/golded3/geutil.cpp +++ b/golded3/geutil.cpp @@ -155,11 +155,11 @@ void update_statusline(const char* info) { void update_statuslinef(const char *format, const char *token, ...) { - if ( !(format && *format && token && *token) ) + if ( !(format && *format && token) ) { LOG.errpointer(__FILE__, __LINE__); LOG.printf( "! Parameter is NULL pointer or empty string: update_statuslinef(\"%s\",\"%s\",...).", - (format?(*format)?format:"":"(NULL)"), (token?(*token)?token:"":"(NULL)") ); + (format?(*format)?format:"":"(NULL)"), (token?token:"(NULL)") ); update_statusline(UPDATE_STATUSLINE_ERROR); return; }