[Home]

Summary:ASTERISK-11478: [patch] Print warning if module cannot be located to unload
Reporter:James Golovich (jamesgolovich)Labels:
Date Opened:2008-02-19 15:38:51.000-0600Date Closed:2008-02-19 15:50:46.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk-loader.diff.txt
Description:I couldn't figure out why module unload wasn't working for me.  Turns out I had a typo in the name, but there wasn't any kind of error printed to tell me it was me being stupid.

So heres a trivial patch that adds a warning if the resource can't be located
Comments:By: Digium Subversion (svnbot) 2008-02-19 15:50:45.000-0600

Repository: asterisk
Revision: 103828

U   trunk/main/loader.c

------------------------------------------------------------------------
r103828 | file | 2008-02-19 15:50:44 -0600 (Tue, 19 Feb 2008) | 6 lines

Add a log message that appears when you try to unload a module that isn't loaded.
(closes issue ASTERISK-11478)
Reported by: jamesgolovich
Patches:
     asterisk-loader.diff.txt uploaded by jamesgolovich (license 176)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=103828