mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 00:41:41 +00:00
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;
|
char *buf;
|
||||||
int level = SWITCH_LOG_INFO;
|
int level = SWITCH_LOG_INFO;
|
||||||
|
|
||||||
if (data) {
|
if (!switch_strlen_zero(data)) {
|
||||||
level = switch_log_str2level(data);
|
level = switch_log_str2level(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user