- replace some nested 'if' with '&&'
authorLuigi Rizzo <rizzo@icir.org>
Sun, 16 Apr 2006 13:58:43 +0000 (13:58 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sun, 16 Apr 2006 13:58:43 +0000 (13:58 +0000)
commit845298a7b32f2b89d1994217292cd87503ec4bcc
tree910d52771016a60200a5e129feca505fa1164844
parented6def5c465f7ec2a5bf1addf06eed1ba78ae436
- replace some nested 'if' with '&&'
- bring the short case at the top of an 'if' statement
  (also fix misformatting)
- replace several 'if' with the '?' operator;

- invert the condition on an 'if' to reduce the nesting depth
  (reindentation to be done later).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channel.c