]> git.ipfire.org Git - thirdparty/asterisk.git/commit
main/asterisk.c: Reverse #if statement in listener() to fix code folding. 44/2244/1
authorCorey Farrell <git@cfware.com>
Sat, 21 Feb 2015 02:51:35 +0000 (02:51 +0000)
committerCorey Farrell <git@cfware.com>
Fri, 12 Feb 2016 14:37:47 +0000 (08:37 -0600)
commit95e76368eba4f7d2dc2f0edd3c4c800ba2177a0a
tree7f5803fb791925d14d6a35c7c407fd155b724408
parent9c83062c31488fc80aaee4be69a6372cab10ea76
main/asterisk.c: Reverse #if statement in listener() to fix code folding.

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.

ASTERISK-24813 #close

Change-Id: I4b8c766e6c91e327dd445e8c18f8a6f268acd961
main/asterisk.c