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:
parent
e988135dba
commit
7d3753a039
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue