[asterisk-commits] russell: branch 1.4 r103726 - /branches/1.4/main/loader.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Feb 15 12:33:29 CST 2008
Author: russell
Date: Fri Feb 15 12:33:29 2008
New Revision: 103726
URL: http://svn.digium.com/view/asterisk?view=rev&rev=103726
Log:
Don't attempt to execute the reload callback for a module that returned
AST_MODULE_LOAD_DECLINE. This fixes a crash that was reported against
chan_console in trunk.
(closes issue #11953, reported by junky, fixed by me)
Modified:
branches/1.4/main/loader.c
Modified: branches/1.4/main/loader.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/loader.c?view=diff&rev=103726&r1=103725&r2=103726
==============================================================================
--- branches/1.4/main/loader.c (original)
+++ branches/1.4/main/loader.c Fri Feb 15 12:33:29 2008
@@ -578,7 +578,7 @@
if (name && resource_name_match(name, cur->resource))
continue;
- if (!(cur->flags.running || cur->flags.declined))
+ if (!cur->flags.running || cur->flags.declined)
continue;
if (!info->reload) { /* cannot be reloaded */
More information about the asterisk-commits
mailing list