From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail.toke.dk; dkim=pass header.d=vursc.org header.i=@vursc.org header.a=rsa-sha256 header.s=MBO0001 header.b=dE9O4X0r; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=vursc.org policy.dmarc=none Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) by mail.toke.dk (Postfix) with ESMTPS id 208E0139807C for ; Sun, 26 Jul 2026 11:34:48 +0200 (CEST) Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4h7Gln46n3z8tVx for ; Sun, 26 Jul 2026 11:34:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vursc.org; s=MBO0001; t=1785058485; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Jf2ARq4aVzhwrZv3l+TgfoOLvob5aLvNlad6uN/IZI4=; b=dE9O4X0rjj9lqKRTWNsGEMWxdJsQZwvotNZr0fVD7dmIfcJqxXdxITrv14V0nKn1mPha6F G8AcS5T7dE8w0pTmhTzpgKsWHB9YsoiT1utUiJvqMe+Q+adQm/ZfF259fVcifokYA3reW9 EF2DtNRieiodD7sTqT2rpubW+yybRHRcbWUihuuTckpv+YCR5VfgNx63QKuWeV86QfJYdJ n0g5To14aSvWj7YuVAp5aXyccemVf1kEkRzHn2SW8u48qlShpXOQ7Y2U3ffyYR6ycLQ3ZA xjVnduDnczy3dTFsakr6q9RC5u/5I/FzwaYsWiQ4+9ptVZFqK30GT/uYAVbMkg== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 26 Jul 2026 09:34:38 +0000 Message-Id: From: "vursc" To: Message-ID-Hash: PCT3ZFZ5G5EGBICAMPVGWPTYNH6L4VIH X-Message-ID-Hash: PCT3ZFZ5G5EGBICAMPVGWPTYNH6L4VIH X-MailFrom: vursc@vursc.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Subject: [Galene] [PATCH] remove redundant error check List-Id: =?utf-8?q?Gal=C3=A8ne_videoconferencing_server_discussion_list?= Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Sorry I can't get git send-email to work. --- galene.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galene.go b/galene.go index 26b3e60..33247ff 100644 --- a/galene.go +++ b/galene.go @@ -60,7 +60,7 @@ func main() { if err !=3D nil || n !=3D 2 { log.Fatalf("UDP range: %v", err) } - if n !=3D 2 || min <=3D 0 || max <=3D 0 || min > max { + if min <=3D 0 || max <=3D 0 || min > max { log.Fatalf("UDP range: bad range") } group.UDPMin =3D min -- 2.55.0