From: Andre Noll Date: Fri, 28 Dec 2007 12:59:46 +0000 (+0100) Subject: mood.c: Only print log message if we are actually reloading a mood. X-Git-Tag: v0.3.0~25 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=1714e2b80218ef5d7e0275a93f8c2dd9b1809861 mood.c: Only print log message if we are actually reloading a mood. --- diff --git a/mood.c b/mood.c index 9ddfc588..5908a93d 100644 --- a/mood.c +++ b/mood.c @@ -1013,9 +1013,10 @@ int reload_current_mood(void) int ret; char *mood_name = NULL; - PARA_NOTICE_LOG("reloading current mood\n"); if (!current_mood) return 1; + PARA_NOTICE_LOG("reloading %s\n", current_mood->name? + current_mood->name : "(dummy)"); if (current_mood->name) mood_name = para_strdup(current_mood->name); close_current_mood();