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
1.4
Tilghman Lesher 19 years ago
parent 1e5463be20
commit f26935218f

@ -2565,8 +2565,7 @@ static struct sip_peer *realtime_peer(const char *newpeername, struct sockaddr_i
}
}
}
} else
return NULL;
}
if (!var) {
if(peerlist)

Loading…
Cancel
Save