[asterisk-bugs] [Asterisk 0012597]: duplicate function calls to get_header() in find_call()

noreply at bugs.digium.com noreply at bugs.digium.com
Wed May 7 08:35:44 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12597 
====================================================================== 
Reported By:                hooi
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   12597
Category:                   Channels/chan_sip/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!): 114190 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-07-2008 04:17 CDT
Last Modified:              05-07-2008 08:35 CDT
====================================================================== 
Summary:                    duplicate function calls to get_header() in
find_call()
Description: 
In rev 114190, chan_sip.c, lines 6154-6157 are redundant as the variable
"callid", "from", "to", and "cseq" are already initialized in lines
6148-6151.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 05-07-08 08:35  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 115507

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r115507 | file | 2008-05-07 08:35:41 -0500 (Wed, 07 May 2008) | 4 lines

Remove redundant header getting.
(closes issue http://bugs.digium.com/view.php?id=12597)
Reported by: hooi

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-07-08 08:35  svnbot         Note Added: 0086524                          
05-07-08 08:35  svnbot         Status                   new => assigned     
05-07-08 08:35  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list