Commit 06cf157d authored by Johannes Schilling's avatar Johannes Schilling
Browse files

also correctly send EOL("\r\n") for error answers

parent b68d55f3
......@@ -137,7 +137,7 @@ func handleIdentRequest(c net.Conn, hmacSecret []byte) error {
}
if uid == "" {
// we return UNKNOWN-ERROR instead of NO-USER for even more privacy
_, err = fmt.Fprintf(c, "%d,%d:ERROR:UNKNOWN-ERROR\n", lPort, rPort)
_, err = fmt.Fprintf(c, "%d,%d:ERROR:UNKNOWN-ERROR\r\n", lPort, rPort)
return err
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment