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:
Anthony Minessale
2009-10-23 16:03:42 +00:00
parent 410b6ebd1f
commit df7637f687
96 changed files with 1033 additions and 1033 deletions

View File

@@ -96,7 +96,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_asr_load_grammar(switch_asr_handle_t
switch_assert(ah != NULL);
if (switch_strlen_zero(grammar)) {
if (zstr(grammar)) {
status = SWITCH_STATUS_FALSE;
goto done;
}
@@ -111,7 +111,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_asr_load_grammar(switch_asr_handle_t
while (data && *data == ' ') {
data++;
}
if (switch_strlen_zero(data)) {
if (zstr(data)) {
status = SWITCH_STATUS_FALSE;
goto done;
}
@@ -120,7 +120,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_asr_load_grammar(switch_asr_handle_t
if (*data == '{') {
param_string = data + 1;
data = switch_find_end_paren(data, '{', '}');
if (switch_strlen_zero(data)) {
if (zstr(data)) {
status = SWITCH_STATUS_FALSE;
goto done;
} else {
@@ -130,7 +130,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_asr_load_grammar(switch_asr_handle_t
}
/* set ASR params */
if (!switch_strlen_zero(param_string)) {
if (!zstr(param_string)) {
char *param[256] = { 0 };
int i;
int argc = switch_separate_string(param_string, ',', param, (sizeof(param) / sizeof(param[0])));