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 committed 2009-10-23 16:03:42 +00:00
1 parent 410b6ebd1f
commit df7637f687
96 files changed
+1033 -1033

No files matched your search

+2 -2
View File
@@ -1071,7 +1071,7 @@ SWITCH_DECLARE(switch_xml_t) switch_event_xmlize(switch_event_t *event, const ch
}
}
if (!switch_strlen_zero(data)) {
if (!zstr(data)) {
body = data;
} else if (event->body) {
body = event->body;
@@ -1606,7 +1606,7 @@ SWITCH_DECLARE(char *) switch_event_build_param_string(switch_event_t *event, co
for (x = 0; prof[x]; x++) {
if (switch_strlen_zero(prof[x])) {
if (zstr(prof[x])) {
continue;
}
new_len = (strlen(prof[x]) * 3) + 1;