Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2018 15:32:37 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r336279 - stable/11/sys/netinet/libalias
Message-ID:  <201807141532.w6EFWbZ3095830@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sat Jul 14 15:32:36 2018
New Revision: 336279
URL: https://svnweb.freebsd.org/changeset/base/336279

Log:
  MFC r336199:
  Remove a duplicate check.
  
  PR:	229663

Modified:
  stable/11/sys/netinet/libalias/alias_irc.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netinet/libalias/alias_irc.c
==============================================================================
--- stable/11/sys/netinet/libalias/alias_irc.c	Sat Jul 14 14:20:30 2018	(r336278)
+++ stable/11/sys/netinet/libalias/alias_irc.c	Sat Jul 14 15:32:36 2018	(r336279)
@@ -96,8 +96,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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807141532.w6EFWbZ3095830>