Review Board 1.7.16


Reverse #if statement in asterisk.c to fix code folding

Review Request #4435 - Created Feb. 19, 2015 and submitted

Corey Farrell
trunk
ASTERISK-24813
Reviewers
asterisk-dev
Asterisk
listener() opens the same code block in two places (#if and #else).  This confuses some folding editors causing it to think that an extra code block was opened.  Folding in 'geany' causes all code after listener() to be folded as if it were part of that procedure.

This patch does not change any compiled logic, it just makes it easier for some editors to parse.
Some testsuite runs.
Total:
1
Open:
0
Resolved:
1
Dropped:
0
Status:
From:
Description From Last Updated Status
Review request changed
Updated (Feb. 20, 2015, 9:23 p.m.)
  • changed from pending to submitted
Committed in revision 432077

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.