projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c929c6a
)
Add a log message that appears when you try to unload a module that isn't loaded.
author
Joshua Colp
<jcolp@digium.com>
Tue, 19 Feb 2008 21:54:09 +0000
(21:54 +0000)
committer
Joshua Colp
<jcolp@digium.com>
Tue, 19 Feb 2008 21:54:09 +0000
(21:54 +0000)
(closes issue #12033)
Reported by: jamesgolovich
Patches:
asterisk-loader.diff.txt uploaded by jamesgolovich (license 176)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103828
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/loader.c
patch
|
blob
|
history
diff --git
a/main/loader.c
b/main/loader.c
index
370e41f
..
79a716e
100644
(file)
--- a/
main/loader.c
+++ b/
main/loader.c
@@
-478,6
+478,7
@@
int ast_unload_resource(const char *resource_name, enum ast_module_unload_mode f
if (!(mod = find_resource(resource_name, 0))) {
AST_LIST_UNLOCK(&module_list);
+ ast_log(LOG_WARNING, "Unload failed, '%s' could not be found\n", resource_name);
return 0;
}