[Freeswitch-trunk] [commit] r6290 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Thu Nov 15 16:13:49 EST 2007
Author: anthm
Date: Thu Nov 15 16:13:49 2007
New Revision: 6290
Modified:
freeswitch/trunk/src/switch_xml.cpp
Log:
tweak
Modified: freeswitch/trunk/src/switch_xml.cpp
==============================================================================
--- freeswitch/trunk/src/switch_xml.cpp (original)
+++ freeswitch/trunk/src/switch_xml.cpp Thu Nov 15 16:13:49 2007
@@ -1018,7 +1018,10 @@
}
}
- if ((tcmd = (char *)switch_stristr("<X-pre-process", bp))) {
+ if ((tcmd = (char *)switch_stristr("X-pre-process", bp))) {
+ if (*(tcmd-1) != '<') {
+ continue;
+ }
if ((e = strstr(tcmd, "/>"))) {
*e += 2;
*e = '\0';
More information about the Freeswitch-trunk
mailing list