- use '?' instead of if statements for assignment;
authorLuigi Rizzo <rizzo@icir.org>
Fri, 14 Apr 2006 23:30:18 +0000 (23:30 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Fri, 14 Apr 2006 23:30:18 +0000 (23:30 +0000)
commit1417b3498d815a60a628fbefc5dbc4fff7ade8ee
tree55745507b309470ddf6e3cb40e24495f5eaae5f9
parentd043954dc1109e59cf657c01e00a9f02c26b9f06
- use '?' instead of if statements for assignment;
- fix indentation in a few places
- use a variable to store the 'other' channel, thus removing
  the need for some duplicated code;
- use '=' instead of memcpy to copy struct sockaddr_in

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