spelling: successfully, compatibility

pull/1477/head
Mark Chambers 2023-01-15 13:23:03 +00:00 committed by Jack Christensen
parent 62a7e19a04
commit 516300aabf
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ type Conn interface {
// Flush flushes any buffered writes. // Flush flushes any buffered writes.
Flush() error Flush() error
// BufferReadUntilBlock reads and buffers any sucessfully read bytes until the read would block. // BufferReadUntilBlock reads and buffers any successfully read bytes until the read would block.
BufferReadUntilBlock() error BufferReadUntilBlock() error
} }

View File

@ -196,7 +196,7 @@ func (b *Backend) Receive() (FrontendMessage, error) {
case AuthTypeCleartextPassword, AuthTypeMD5Password: case AuthTypeCleartextPassword, AuthTypeMD5Password:
fallthrough fallthrough
default: default:
// to maintain backwards compatability // to maintain backwards compatibility
msg = &PasswordMessage{} msg = &PasswordMessage{}
} }
case 'Q': case 'Q':