[asterisk-bugs] [Asterisk 0011096]: [patch] Modify the return values on load_module().

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Dec 26 13:59:03 CST 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11096 
====================================================================== 
Reported By:                eliel
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11096
Category:                   Core-General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 87168 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-26-2007 13:28 CDT
Last Modified:              12-26-2007 13:59 CST
====================================================================== 
Summary:                    [patch] Modify the return values on load_module().
Description: 
Start using AST_MODULE_LOAD_SUCCESS, AST_MODULE_LOAD_DECLINE,
AST_MODULE_LOAD_FAILURE and AST_MODULE_LOAD_SKIP instead of their values.
This is usefull for future changes on the return values of this functions
and also to notice that some modules on failure are returning 0
(AST_MODULE_LOAD_SUCCESS) instead of the corresponding return value.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 12-26-07 13:59  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 94806

U   trunk/apps/app_adsiprog.c
U   trunk/apps/app_alarmreceiver.c
U   trunk/apps/app_amd.c
U   trunk/apps/app_authenticate.c
U   trunk/apps/app_cdr.c
U   trunk/apps/app_zapateller.c
U   trunk/apps/app_zapbarge.c
U   trunk/apps/app_zapras.c
U   trunk/apps/app_zapscan.c
U   trunk/pbx/pbx_config.c
U   trunk/pbx/pbx_dundi.c
U   trunk/pbx/pbx_gtkconsole.c
U   trunk/pbx/pbx_loopback.c
U   trunk/pbx/pbx_realtime.c
U   trunk/pbx/pbx_spool.c

------------------------------------------------------------------------
r94806 | qwell | 2007-12-26 13:59:02 -0600 (Wed, 26 Dec 2007) | 20 lines

Use defined return values in load_module in more places.

(closes issue http://bugs.digium.com/view.php?id=11096)
Patches:
      pbx_config.c.patch uploaded by moy (license 222)
      pbx_dundi.c.patch uploaded by moy (license 222)
      pbx_gtkconsole.c.patch uploaded by moy (license 222)
      pbx_loopback.c.patch uploaded by moy (license 222)
      pbx_realtime.c.patch uploaded by moy (license 222)
      pbx_spool.c.patch uploaded by moy (license 222)
      app_adsiprog.c.patch uploaded by moy (license 222)
      app_alarmreceiver.c.patch uploaded by moy (license 222)
      app_amd.c.patch uploaded by moy (license 222)
      app_authenticate.c.patch uploaded by moy (license 222)
      app_cdr.c.patch uploaded by moy (license 222)
      app_zapateller.c.patch uploaded by moy (license 222)
      app_zapbarge.c.patch uploaded by moy (license 222)
      app_zapras.c.patch uploaded by moy (license 222)
      app_zapscan.c.patch uploaded by moy (license 222)

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-26-07 13:59  svnbot         Note Added: 0075969                          
12-26-07 13:59  svnbot         Status                   feedback => assigned
======================================================================




More information about the asterisk-bugs mailing list