[Freeswitch-svn] [commit] r7362 - freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml
Freeswitch SVN
anthm at freeswitch.org
Fri Jan 25 15:27:39 EST 2008
Author: anthm
Date: Fri Jan 25 15:27:39 2008
New Revision: 7362
Modified:
freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c
Log:
doh
Modified: freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c
==============================================================================
--- freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c (original)
+++ freeswitch/trunk/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c Fri Jan 25 15:27:39 2008
@@ -139,7 +139,7 @@
uint32_t len = 0;
char *app_data = NULL;
- if (xaction->txt) {
+ if (!switch_strlen_zero(xaction->txt)) {
data = xaction->txt;
} else {
data = (char *) switch_xml_attr_soft(xaction, "data");
More information about the Freeswitch-svn
mailing list