From f26935218fa2f982148ed365582c8f598b009f82 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 24 Dec 2007 15:39:56 +0000 Subject: [PATCH] Another bit of bad logic in realtime_peer Reported by: dimas Patch by: dimas (Closes issue #11631) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@94763 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d77510ab27..4cdf354955 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2565,8 +2565,7 @@ static struct sip_peer *realtime_peer(const char *newpeername, struct sockaddr_i } } } - } else - return NULL; + } if (!var) { if(peerlist)