[asterisk-bugs] [Asterisk 0011899]: [patch] Change argc != xx to argc != e->args [apps]

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Feb 1 10:46:18 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11899 
====================================================================== 
Reported By:                jmls
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11899
Category:                   Applications/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 101580 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-01-2008 04:52 CST
Last Modified:              02-01-2008 10:46 CST
====================================================================== 
Summary:                    [patch] Change argc != xx to argc != e->args [apps]
Description: 
looking through A101767, I saw a comment regarding the hardcoding of
arguments. I have made changes to some (most) of the applications in apps
to use the new syntax. e->args

patch attached.
====================================================================== 

---------------------------------------------------------------------- 
 qwell - 02-01-08 10:46  
---------------------------------------------------------------------- 
There are some cases where this is not appropriate.

Example: sip_prune_realtime in chan_sip.c - see e->command 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-01-08 10:46  qwell          Note Added: 0081577                          
======================================================================




More information about the asterisk-bugs mailing list