fix null vs empty string check in info app

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14764 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-09-04 15:31:13 +00:00
parent e988135dba
commit 7d3753a039
1 changed files with 1 additions and 1 deletions

View File

@ -940,7 +940,7 @@ SWITCH_STANDARD_APP(info_function)
char *buf;
int level = SWITCH_LOG_INFO;
if (data) {
if (!switch_strlen_zero(data)) {
level = switch_log_str2level(data);
}