[asterisk-bugs] [Asterisk 0015678]: [patch] IF ELSE and WHILE braces, plus white space cleanup

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Aug 8 05:04:38 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15678 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15678
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   text
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 211197 
Request Review:              
====================================================================== 
Date Submitted:             2009-08-08 04:51 CDT
Last Modified:              2009-08-08 05:04 CDT
====================================================================== 
Summary:                    [patch] IF ELSE and WHILE braces, plus white space
cleanup
Description: 
Other clean up was <pre>

  if (a)
    return 1;
  else
    return 2;

generally became;
  if (a) {
    return 1;
  }
  return 2;</pre>

====================================================================== 

---------------------------------------------------------------------- 
 (0108802) alecdavis (reporter) - 2009-08-08 05:04
 https://issues.asterisk.org/view.php?id=15678#c108802 
---------------------------------------------------------------------- 
Testing done:

Equipment:
SIP phone and TDM800P with FXO and FXS

Calls from SIP to FXS ports, succesful, with callerid passed.
Calls into FXO from PSTN, sucessful (callerid unavailable here).
Calls from FXS port to PSTN (through FXO) succesful.
Calls from SIP to PSTN (through FXO) succesful. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-08 05:04 alecdavis      Note Added: 0108802                          
======================================================================




More information about the asterisk-bugs mailing list