[asterisk-commits] eliel: branch group/appdocsxml r152515 - /team/group/appdocsxml/main/xml.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 28 18:08:05 CDT 2008
Author: eliel
Date: Tue Oct 28 18:08:04 2008
New Revision: 152515
URL: http://svn.digium.com/view/asterisk?view=rev&rev=152515
Log:
Missing assignment cause asterisk to loop forever.
We don't need anymore AST_XML_IMPLEMENTATION.
Modified:
team/group/appdocsxml/main/xml.c
Modified: team/group/appdocsxml/main/xml.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/main/xml.c?view=diff&rev=152515&r1=152514&r2=152515
==============================================================================
--- team/group/appdocsxml/main/xml.c (original)
+++ team/group/appdocsxml/main/xml.c Tue Oct 28 18:08:04 2008
@@ -30,7 +30,6 @@
#include <libxml/tree.h>
#if defined(HAVE_LIBXML2)
-#define AST_XML_IMPLEMENTATION
/* libxml2 ast_xml implementation. */
@@ -136,7 +135,7 @@
return NULL;
}
- for (cur = root_node; cur; ast_xml_node_get_next(cur)) {
+ for (cur = root_node; cur; cur = ast_xml_node_get_next(cur)) {
/* Check if the name matchs */
if (strcmp(ast_xml_node_get_name(cur), name)) {
continue;
More information about the asterisk-commits
mailing list