[asterisk-bugs] [Asterisk 0012033]: [patch] Print warning if module cannot be located to unload

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Feb 19 15:50:46 CST 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12033 
====================================================================== 
Reported By:                jamesgolovich
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   12033
Category:                   Core-General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-19-2008 15:38 CST
Last Modified:              02-19-2008 15:50 CST
====================================================================== 
Summary:                    [patch] Print warning if module cannot be located to
unload
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
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 02-19-08 15:50  
---------------------------------------------------------------------- 
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 http://bugs.digium.com/view.php?id=12033)
Reported by: jamesgolovich
Patches:
      asterisk-loader.diff.txt uploaded by jamesgolovich (license 176)

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-19-08 15:50  svnbot         Checkin                                      
02-19-08 15:50  svnbot         Note Added: 0082605                          
02-19-08 15:50  svnbot         Status                   new => assigned     
02-19-08 15:50  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list