Add missing return.
This commit is contained in:
parent
eefb1bc3a6
commit
d3d415b612
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue