From e93f49f87e487488be2e16420fa759d94967cdb3 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Fri, 27 Dec 2019 23:22:09 +0100 Subject: [PATCH] Backend: Fix olc "out of range" log message Signed-off-by: Michael Mayer --- internal/maps/olc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/maps/olc.go b/internal/maps/olc.go index a8213c4ea..938885faf 100644 --- a/internal/maps/olc.go +++ b/internal/maps/olc.go @@ -11,7 +11,7 @@ func OlcEncode(lat, lng float64) string { } if lng < -180 || lng > 180 { - log.Warnf("olc: longitude out of range (%f)", lat) + log.Warnf("olc: longitude out of range (%f)", lng) return "" }