From d3d415b6124528825fd06f64fed77b4327bbc091 Mon Sep 17 00:00:00 2001 From: Solderpunk Date: Sun, 26 Feb 2023 19:42:49 +0100 Subject: [PATCH] Add missing return. --- handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/handler.go b/handler.go index d5cfbad..aa6dfdd 100644 --- a/handler.go +++ b/handler.go @@ -154,6 +154,7 @@ func handleGeminiRequest(conn net.Conn, sysConfig SysConfig, config UserConfig, log.Println("Error evaluating path " + path + " for symlinks: " + err.Error()) conn.Write([]byte("51 Not found!\r\n")) logEntry.Status = 51 + return } if newPath == path { break