fix: remove whitespace for linter

This commit is contained in:
Jake Daynes
2026-03-13 04:23:25 -07:00
parent beb59543dc
commit d7366c970b
-2
View File
@@ -152,7 +152,6 @@ func (a Attacker) handleRedirect(stream *cameradar.Stream, resHeaders base.Heade
}
if location.Hostname() != "" {
addr, err := netip.ParseAddr(location.Hostname())
if err == nil {
stream.Address = addr
@@ -160,7 +159,6 @@ func (a Attacker) handleRedirect(stream *cameradar.Stream, resHeaders base.Heade
}
if location.Port() != "" {
port, err := strconv.Atoi(location.Port())
if err == nil {
if port >= 0 && port <= 65535 {