mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 07:04:17 +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
@@ -471,7 +471,7 @@ static switch_status_t enum_lookup(char *root, char *in, enum_record_t **results
|
||||
root = mroot;
|
||||
}
|
||||
|
||||
if (switch_strlen_zero(root)) {
|
||||
if (zstr(root)) {
|
||||
root = globals.root;
|
||||
}
|
||||
|
||||
@@ -675,7 +675,7 @@ SWITCH_STANDARD_API(enum_api)
|
||||
char *last_delim = "|";
|
||||
int ok = 0;
|
||||
|
||||
if (switch_strlen_zero(cmd)) {
|
||||
if (zstr(cmd)) {
|
||||
stream->write_function(stream, "%s", "none");
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user