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
This commit is contained in:
Tilghman Lesher
2007-12-24 15:39:56 +00:00
parent 1e5463be20
commit f26935218f
+1 -2
View File
@@ -2565,8 +2565,7 @@ static struct sip_peer *realtime_peer(const char *newpeername, struct sockaddr_i
}
}
}
} else
return NULL;
}
if (!var) {
if(peerlist)