From: "vursc" <vursc@vursc.org>
To: <galene@lists.galene.org>
Subject: [Galene] [PATCH] remove redundant error check
Date: Sun, 26 Jul 2026 09:34:38 +0000 [thread overview]
Message-ID: <DK8EF4CWF8AI.13NR98XVN1YFY@vursc.org> (raw)
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 != nil || n != 2 {
log.Fatalf("UDP range: %v", err)
}
- if n != 2 || min <= 0 || max <= 0 || min > max {
+ if min <= 0 || max <= 0 || min > max {
log.Fatalf("UDP range: bad range")
}
group.UDPMin = min
--
2.55.0
reply other threads:[~2026-07-26 9:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.galene.org/postorius/lists/galene.lists.galene.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DK8EF4CWF8AI.13NR98XVN1YFY@vursc.org \
--to=vursc@vursc.org \
--cc=galene@lists.galene.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox