mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 22:54:18 +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
@@ -139,7 +139,7 @@ SWITCH_DECLARE(char *) switch_core_perform_permanent_strdup(const char *todup, c
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (switch_strlen_zero(todup)) {
|
||||
if (zstr(todup)) {
|
||||
return SWITCH_BLANK_STRING;
|
||||
}
|
||||
|
||||
@@ -235,7 +235,7 @@ SWITCH_DECLARE(char *) switch_core_perform_session_strdup(switch_core_session_t
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (switch_strlen_zero(todup)) {
|
||||
if (zstr(todup)) {
|
||||
return SWITCH_BLANK_STRING;
|
||||
}
|
||||
|
||||
@@ -275,7 +275,7 @@ SWITCH_DECLARE(char *) switch_core_perform_strdup(switch_memory_pool_t *pool, co
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (switch_strlen_zero(todup)) {
|
||||
if (zstr(todup)) {
|
||||
return SWITCH_BLANK_STRING;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user