[asterisk-commits] russell: branch 1.4 r84146 - /branches/1.4/include/asterisk/module.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Sep 30 15:02:16 CDT 2007


Author: russell
Date: Sun Sep 30 15:02:16 2007
New Revision: 84146

URL: http://svn.digium.com/view/asterisk?view=rev&rev=84146
Log:
Fix the AST_MODULE_INFO macro for C++ modules.  The load and reload parameters
were in the wrong place.
(closes issue #10846, alebm)

Modified:
    branches/1.4/include/asterisk/module.h

Modified: branches/1.4/include/asterisk/module.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/module.h?view=diff&rev=84146&r1=84145&r2=84146
==============================================================================
--- branches/1.4/include/asterisk/module.h (original)
+++ branches/1.4/include/asterisk/module.h Sun Sep 30 15:02:16 2007
@@ -224,8 +224,8 @@
 	static struct ast_module_info __mod_info = {	\
 		NULL,					\
 		load_func,				\
+		reload_func,				\
 		unload_func,				\
-		reload_func,				\
 		AST_MODULE,				\
 		desc,					\
 		keystr,					\




More information about the asterisk-commits mailing list