mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-05 01:30:43 +00:00
Remove a duplicate check.
PR: 229663 Submitted by: David Binderman <dcb314@hotmail.com> MFC after: 3 days
This commit is contained in:
parent
f1dd498487
commit
aaf268f9f6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336199
@ -98,8 +98,7 @@ static int
|
||||
fingerprint(struct libalias *la, struct alias_data *ah)
|
||||
{
|
||||
|
||||
if (ah->dport == NULL || ah->dport == NULL || ah->lnk == NULL ||
|
||||
ah->maxpktsize == 0)
|
||||
if (ah->dport == NULL || ah->lnk == NULL || ah->maxpktsize == 0)
|
||||
return (-1);
|
||||
if (ntohs(*ah->dport) == IRC_CONTROL_PORT_NUMBER_1
|
||||
|| ntohs(*ah->dport) == IRC_CONTROL_PORT_NUMBER_2)
|
||||
|
Loading…
Reference in New Issue
Block a user