* [Galene] [PATCH] remove redundant error check
@ 2026-07-26 9:34 vursc
0 siblings, 0 replies; only message in thread
From: vursc @ 2026-07-26 9:34 UTC (permalink / raw)
To: galene
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-26 9:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-26 9:34 [Galene] [PATCH] remove redundant error check vursc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox