Merged revisions 84146 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Sun, 30 Sep 2007 20:06:58 +0000 (20:06 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 30 Sep 2007 20:06:58 +0000 (20:06 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84146 | russell | 2007-09-30 16:02:16 -0400 (Sun, 30 Sep 2007) | 4 lines

Fix the AST_MODULE_INFO macro for C++ modules.  The load and reload parameters
were in the wrong place.
(closes issue #10846, alebm)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84147 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/module.h

index d53e608..4c6cc50 100644 (file)
@@ -237,8 +237,8 @@ void ast_module_unref(struct ast_module *);
        static struct ast_module_info __mod_info = {    \
                NULL,                                   \
                load_func,                              \
-               unload_func,                            \
                reload_func,                            \
+               unload_func,                            \
                AST_MODULE,                             \
                desc,                                   \
                keystr,                                 \