Typo in be_tls_write

Started by Daniel Gustafssonalmost 8 years ago2 messages
#1Daniel Gustafsson
daniel@yesql.se
1 attachment(s)

Spotted a typo in be_tls_write(), fix attached.

cheers ./daniel

Attachments:

typo-tls_write.patchapplication/octet-stream; name=typo-tls_write.patchDownload
From b81cd9cd4e34bd76fa986b790f208fed252eee0b Mon Sep 17 00:00:00 2001
From: Daniel Gustafsson <daniel@yesql.se>
Date: Mon, 19 Mar 2018 10:26:33 +0100
Subject: [PATCH] Fix typo in comment

---
 src/backend/libpq/be-secure-openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/libpq/be-secure-openssl.c b/src/backend/libpq/be-secure-openssl.c
index 75ee5456cc..54cb352b8f 100644
--- a/src/backend/libpq/be-secure-openssl.c
+++ b/src/backend/libpq/be-secure-openssl.c
@@ -610,7 +610,7 @@ be_tls_write(Port *port, void *ptr, size_t len, int *waitfor)
 		case SSL_ERROR_ZERO_RETURN:
 
 			/*
-			 * the SSL connnection was closed, leave it to the caller to
+			 * the SSL connection was closed, leave it to the caller to
 			 * ereport it
 			 */
 			errno = ECONNRESET;
-- 
2.14.1.145.gb3622a4ee

#2Magnus Hagander
magnus@hagander.net
In reply to: Daniel Gustafsson (#1)
Re: Typo in be_tls_write

On Mon, Mar 19, 2018 at 10:28 AM, Daniel Gustafsson <daniel@yesql.se> wrote:

Spotted a typo in be_tls_write(), fix attached.

Applied, thanks.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/&gt;
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/&gt;