mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-02 04:53:32 -07:00
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:
+1
-2
@@ -2565,8 +2565,7 @@ static struct sip_peer *realtime_peer(const char *newpeername, struct sockaddr_i
|
||||
}
|
||||
}
|
||||
}
|
||||
} else
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!var) {
|
||||
if(peerlist)
|
||||
|
||||
Reference in New Issue
Block a user