From 516300aabf98cba8b861f893564a6b9f2dbdd590 Mon Sep 17 00:00:00 2001 From: Mark Chambers Date: Sun, 15 Jan 2023 13:23:03 +0000 Subject: [PATCH] spelling: successfully, compatibility --- internal/nbconn/nbconn.go | 2 +- pgproto3/backend.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/nbconn/nbconn.go b/internal/nbconn/nbconn.go index 99688518..cae69849 100644 --- a/internal/nbconn/nbconn.go +++ b/internal/nbconn/nbconn.go @@ -54,7 +54,7 @@ type Conn interface { // Flush flushes any buffered writes. 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 } diff --git a/pgproto3/backend.go b/pgproto3/backend.go index 09aeb7c8..9dc0910f 100644 --- a/pgproto3/backend.go +++ b/pgproto3/backend.go @@ -196,7 +196,7 @@ func (b *Backend) Receive() (FrontendMessage, error) { case AuthTypeCleartextPassword, AuthTypeMD5Password: fallthrough default: - // to maintain backwards compatability + // to maintain backwards compatibility msg = &PasswordMessage{} } case 'Q':