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

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


Author: eliel
Date: Wed Aug 20 07:06:18 2008
New Revision: 139010

URL: http://svn.digium.com/view/asterisk?view=rev&rev=139010
Log:
Fix a typo; while trying to build the syntax for a function we call build_syntax
for an application.

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=139010&r1=139009&r2=139010
==============================================================================
--- team/group/appdocsxml/main/pbx.c (original)
+++ team/group/appdocsxml/main/pbx.c Wed Aug 20 07:06:18 2008
@@ -3526,7 +3526,7 @@
 	if (ast_strlen_zero(acf->desc) && ast_strlen_zero(acf->synopsis)) {
 		acf->synopsis = xmldoc_get_field("function", acf->name, "synopsis", 1);
 		acf->desc = xmldoc_get_field("function", acf->name, "description", 0);
-		acf->syntax = xmldoc_build_syntax("application", acf->name);
+		acf->syntax = xmldoc_build_syntax("function", acf->name);
 		acf->docsrc = AST_XML_DOC;
 	}
 #endif




More information about the asterisk-commits mailing list