Update mysql_server.go

typo
This commit is contained in:
guanicoe 2020-05-04 10:58:19 +00:00 committed by GitHub
parent 1957d34ca2
commit 6fabe025a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,7 +153,7 @@ func (mod *MySQLServer) Start() error {
if strings.HasPrefix(mod.infile, "\\") {
mod.Info("NTLM from '%s' relayed to %s", clientAddress, mod.infile)
} else if fileSize := read - 9; fileSize < 4 {
mod.Warning("unpexpected buffer size %d", read)
mod.Warning("unexpected buffer size %d", read)
} else {
mod.Info("read file ( %s ) is %d bytes", mod.infile, fileSize)