extra error checking.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7559 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2008-02-08 19:06:13 +00:00
1 parent ee70dcd1d2
commit 62a9f72590
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -138,7 +138,7 @@ static switch_status_t config_logger(void)
#else
COLORIZE = 1;
#endif
} else if (!strcasecmp(var, "loglevel")) {
} else if (!strcasecmp(var, "loglevel") && !switch_strlen_zero(val)) {
hard_log_level = switch_log_str2level(val);
}
}