summaryrefslogtreecommitdiff
path: root/main/loader.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-07-14 20:48:59 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-07-14 20:48:59 +0000
commit832d1296c61477eb5c5848b64cf48b36e636bfb0 (patch)
tree2b34378f0a47d89598b41b610afdfbe6643fad16 /main/loader.c
parent8e7d01d48418786d3f0abc232a2d12de7362e50e (diff)
Remove the old stub files, preferring the optional_api method.
(closes issue #17475) Reported by: tilghman Review: https://reviewboard.asterisk.org/r/695/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/loader.c')
-rw-r--r--main/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/loader.c b/main/loader.c
index 0249af9d8..8a3d18bdb 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -836,7 +836,7 @@ static enum ast_module_load_result load_resource(const char *resource_name, unsi
return required ? AST_MODULE_LOAD_FAILURE : AST_MODULE_LOAD_DECLINE;
}
- if (!mod->lib && mod->info->backup_globals && mod->info->backup_globals()) {
+ if (!mod->lib && 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;
}