1
0
Fork 0

Add missing return.

This commit is contained in:
Solderpunk 2023-02-26 19:42:49 +01:00
parent eefb1bc3a6
commit d3d415b612

View file

@ -154,6 +154,7 @@ func handleGeminiRequest(conn net.Conn, sysConfig SysConfig, config UserConfig,
log.Println("Error evaluating path " + path + " for symlinks: " + err.Error()) log.Println("Error evaluating path " + path + " for symlinks: " + err.Error())
conn.Write([]byte("51 Not found!\r\n")) conn.Write([]byte("51 Not found!\r\n"))
logEntry.Status = 51 logEntry.Status = 51
return
} }
if newPath == path { if newPath == path {
break break