mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 04:27:06 +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
@@ -234,7 +234,7 @@ SWITCH_STANDARD_APP(rss_function)
|
||||
|
||||
switch_channel_answer(channel);
|
||||
|
||||
if (!switch_strlen_zero(data)) {
|
||||
if (!zstr(data)) {
|
||||
if ((mydata = switch_core_session_strdup(session, data))) {
|
||||
argc = switch_separate_string(mydata, ' ', argv, sizeof(argv) / sizeof(argv[0]));
|
||||
|
||||
@@ -394,7 +394,7 @@ SWITCH_STANDARD_APP(rss_function)
|
||||
|
||||
err = switch_xml_error(xml);
|
||||
|
||||
if (!switch_strlen_zero(err)) {
|
||||
if (!zstr(err)) {
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Error [%s]\n", err);
|
||||
goto finished;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user