[asterisk-commits] tilghman: trunk r276493 - /trunk/main/loader.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 14 16:11:20 CDT 2010


Author: tilghman
Date: Wed Jul 14 16:11:09 2010
New Revision: 276493

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=276493
Log:
Oops, merge reverted this fix.

Modified:
    trunk/main/loader.c

Modified: trunk/main/loader.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/loader.c?view=diff&rev=276493&r1=276492&r2=276493
==============================================================================
--- trunk/main/loader.c (original)
+++ trunk/main/loader.c Wed Jul 14 16:11:09 2010
@@ -836,7 +836,7 @@
 		return required ? AST_MODULE_LOAD_FAILURE : AST_MODULE_LOAD_DECLINE;
 	}
 
-	if (!mod->lib && mod->info->backup_globals()) {
+	if (!mod->lib && mod->info->backup_globals && mod->info->backup_globals()) {
 		ast_log(LOG_WARNING, "Module '%s' was unable to backup its global data.\n", resource_name);
 		return required ? AST_MODULE_LOAD_FAILURE : AST_MODULE_LOAD_DECLINE;
 	}




More information about the asterisk-commits mailing list