[asterisk-commits] eliel: branch group/appdocsxml r139011 - /team/group/appdocsxml/main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 20 08:06:09 CDT 2008


Author: eliel
Date: Wed Aug 20 08:06:09 2008
New Revision: 139011

URL: http://svn.digium.com/view/asterisk?view=rev&rev=139011
Log:
Fix an issue while generating the syntax for an application or function, introduced when
fixing the warning messages.

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=139011&r1=139010&r2=139011
==============================================================================
--- team/group/appdocsxml/main/pbx.c (original)
+++ team/group/appdocsxml/main/pbx.c Wed Aug 20 08:06:09 2008
@@ -3192,9 +3192,9 @@
 
 	/* init syntax string. */
 	if (reverse) {
+		__xmldoc_reverse_helper(reverse, &len, &syntax, ")");
+	} else {
 		__xmldoc_reverse_helper(reverse, &len, &syntax, "%s(", name);
-	} else {
-		__xmldoc_reverse_helper(reverse, &len, &syntax, ")");
 	}
 
 	while (node) {




More information about the asterisk-commits mailing list