simplify logic in realtime_peer(), removing an unnecessary
authorLuigi Rizzo <rizzo@icir.org>
Mon, 22 May 2006 00:07:48 +0000 (00:07 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Mon, 22 May 2006 00:07:48 +0000 (00:07 +0000)
commita234f923371cc3182547307bbaee41c3ceaf7c7f
treea1ca0b949d308a8ee692f86686aaafa0f2064a8f
parent94d3a99089d75234ead05db4c7d82c043bb4242e
simplify logic in realtime_peer(), removing an unnecessary
initialization, an extra variable (newpeername) and a
variable newpeername, and an 'else' branch.

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