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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 28 06:14:03 CDT 2008


Author: eliel
Date: Tue Oct 28 06:14:01 2008
New Revision: 152358

URL: http://svn.digium.com/view/asterisk?view=rev&rev=152358
Log:
Return 0 if XML_DOCS is not defined to continue loading the application
with the static documentation or without documentation.

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=152358&r1=152357&r2=152358
==============================================================================
--- team/group/appdocsxml/main/pbx.c (original)
+++ team/group/appdocsxml/main/pbx.c Tue Oct 28 06:14:01 2008
@@ -4583,10 +4583,9 @@
 	ast_free(tmpxml);
 
 	acf->docsrc = AST_XML_DOC;
+#endif
 
 	return 0;
-#endif
-	return -1;
 }
 
 int __ast_custom_function_register(struct ast_custom_function *acf, struct ast_module *mod)




More information about the asterisk-commits mailing list