[svn-commits] eliel: branch group/appdocsxml r151508 - /team/group/appdocsxml/apps/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Oct 22 07:48:45 CDT 2008


Author: eliel
Date: Wed Oct 22 07:48:44 2008
New Revision: 151508

URL: http://svn.digium.com/view/asterisk?view=rev&rev=151508
Log:
Don't use ast_register_application() to register an application with XML documentation, use
ast_register_application_xml() instead.

Modified:
    team/group/appdocsxml/apps/app_chanisavail.c

Modified: team/group/appdocsxml/apps/app_chanisavail.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/apps/app_chanisavail.c?view=diff&rev=151508&r1=151507&r2=151508
==============================================================================
--- team/group/appdocsxml/apps/app_chanisavail.c (original)
+++ team/group/appdocsxml/apps/app_chanisavail.c Wed Oct 22 07:48:44 2008
@@ -197,7 +197,7 @@
 
 static int load_module(void)
 {
-	return ast_register_application(app, chanavail_exec, NULL, NULL) ?
+	return ast_register_application_xml(app, chanavail_exec) ?
 		AST_MODULE_LOAD_DECLINE : AST_MODULE_LOAD_SUCCESS;
 }
 




More information about the svn-commits mailing list