[svn-commits] eliel: branch group/appdocsxml r144732 - /team/group/appdocsxml/main/pbx.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Sep 26 13:37:02 CDT 2008


Author: eliel
Date: Fri Sep 26 13:37:01 2008
New Revision: 144732

URL: http://svn.digium.com/view/asterisk?view=rev&rev=144732
Log:
Fix a typo in two variables!

Modified:
    team/group/appdocsxml/main/pbx.c

Modified: team/group/appdocsxml/main/pbx.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/main/pbx.c?view=diff&rev=144732&r1=144731&r2=144732
==============================================================================
--- team/group/appdocsxml/main/pbx.c (original)
+++ team/group/appdocsxml/main/pbx.c Fri Sep 26 13:37:01 2008
@@ -3274,7 +3274,7 @@
 		return NULL;
 	}
 
-	if (!node || !node->AST_XML_CHILD) {
+	if (!rootnode || !rootnode->AST_XML_CHILD) {
 		/* If the rootnode field is not found, at least print name. */
 		ast_asprintf(&syntax, "%s%s", rootname, (printparenthesis ? "()" : ""));
 		return syntax;




More information about the svn-commits mailing list