aboutsummaryrefslogtreecommitdiffstats
path: root/main/loader.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-22 23:55:16 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-22 23:55:16 +0000
commit836b1b86fff2e6fe1f2db0effe28b913edc14498 (patch)
treee18d7ec6df886ded1e56741448d73d2a4650f449 /main/loader.c
parentd45bde9030e667a5994a197cf389ba11440416ff (diff)
generate a message when a module cannot be found and loadable modules are disabled
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40866 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/loader.c')
-rw-r--r--main/loader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/loader.c b/main/loader.c
index a3f76459a..4d8e527f3 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -591,6 +591,7 @@ static enum ast_module_load_result load_resource(const char *resource_name, unsi
}
}
#else
+ ast_log(LOG_WARNING, "Module '%s' could not be loaded.\n", resource_name);
return AST_MODULE_LOAD_DECLINE;
#endif
}