[Freeswitch-svn] [commit] r13658 - freeswitch/trunk/src
FreeSWITCH SVN
anthm at freeswitch.org
Fri Jun 5 14:55:02 PDT 2009
Author: anthm
Date: Fri Jun 5 16:55:02 2009
New Revision: 13658
Log:
picky compilers
Modified:
freeswitch/trunk/src/switch_xml.c
Modified: freeswitch/trunk/src/switch_xml.c
==============================================================================
--- freeswitch/trunk/src/switch_xml.c (original)
+++ freeswitch/trunk/src/switch_xml.c Fri Jun 5 16:55:02 2009
@@ -768,7 +768,13 @@
*s = '\0'; /* null terminate tag name */
for (i = 0; root->attr[i] && strcmp(n, root->attr[i][0]); i++);
- while (*(n = ++s + strspn(s, SWITCH_XML_WS)) && *n != '>') {
+ //while (*(n = ++s + strspn(s, SWITCH_XML_WS)) && *n != '>') {
+ // gcc 4.4 you are a creep
+ for(;;) {
+ s++;
+ if (!(*(n = s + strspn(s, SWITCH_XML_WS)) && *n != '>')) {
+ break;
+ }
if (*(s = n + strcspn(n, SWITCH_XML_WS)))
*s = '\0'; /* attr name */
else {
More information about the Freeswitch-svn
mailing list