[asterisk-bugs] [LibSS7 0013006]: [patch] Cleanup the link lookup code

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 7 07:39:39 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13006 
====================================================================== 
Reported By:                vt
Assigned To:                mattf
====================================================================== 
Project:                    LibSS7
Issue ID:                   13006
Category:                   General
Reproducibility:            N/A
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 184 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-07-2008 07:35 CDT
Last Modified:              07-07-2008 07:39 CDT
====================================================================== 
Summary:                    [patch] Cleanup the link lookup code
Description: 
This code is redundant and overly complex.
====================================================================== 

---------------------------------------------------------------------- 
 vt - 07-07-08 07:39  
---------------------------------------------------------------------- 
This patch adds 2 functions:

  struct mtp2 *ss7_find_link(struct ss7 *ss7, int fd);
  int ss7_find_link_index(struct ss7 *ss7, int fd);

to get rid of some temporary variables as well as cleanup
some other loops.

Also moves a few poin ter checks from isup_* funcs to their
send_message friend... 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-07-08 07:39  vt             Note Added: 0089821                          
======================================================================




More information about the asterisk-bugs mailing list