mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 20:17:05 +00:00
change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
410b6ebd1f
commit
df7637f687
96 files changed
+1033
-1033
No files matched your search
@@ -130,7 +130,7 @@ static switch_status_t config_logger(void)
|
||||
#else
|
||||
COLORIZE = 1;
|
||||
#endif
|
||||
} else if (!strcasecmp(var, "loglevel") && !switch_strlen_zero(val)) {
|
||||
} else if (!strcasecmp(var, "loglevel") && !zstr(val)) {
|
||||
hard_log_level = switch_log_str2level(val);
|
||||
}
|
||||
}
|
||||
@@ -289,7 +289,7 @@ SWITCH_STANDARD_API(console_api_function)
|
||||
if (session)
|
||||
return SWITCH_STATUS_FALSE;
|
||||
|
||||
if (switch_strlen_zero(cmd)) {
|
||||
if (zstr(cmd)) {
|
||||
stream->write_function(stream, "%s", usage_string);
|
||||
goto done;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user