This commit is contained in:
kayos 2023-11-06 13:30:41 -08:00 committed by GitHub
parent 4c714ee710
commit 312f2cfd6c

@ -213,7 +213,7 @@ func handle(c net.Conn) {
) )
log("") log("")
if buf[head] > 1 { if buf[head] >= 1 {
log(gray + "expanding buffer for auth methods...") log(gray + "expanding buffer for auth methods...")
buf = append(buf, make([]byte, numMethods)...) buf = append(buf, make([]byte, numMethods)...)
} }