From 6feb3900b121a356a1c091855008d080223ea802 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Mon, 17 Aug 2020 14:32:52 +0200 Subject: fixes #15177, the error message is now what it should have been (#15195) --- lib/pure/smtp.nim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/pure/smtp.nim') diff --git a/lib/pure/smtp.nim b/lib/pure/smtp.nim index b42664029..5eafc6680 100644 --- a/lib/pure/smtp.nim +++ b/lib/pure/smtp.nim @@ -87,7 +87,7 @@ proc debugSend*(smtp: Smtp | AsyncSmtp, cmd: string) {.multisync.} = await smtp.sock.send(cmd) proc debugRecv*(smtp: Smtp | AsyncSmtp): Future[TaintedString] {.multisync.} = - ## Receives a line of data from the socket connected to the + ## Receives a line of data from the socket connected to the ## SMTP server. ## ## If the ``smtp`` object was created with ``debug`` enabled, @@ -112,8 +112,7 @@ proc quitExcpt(smtp: Smtp, msg: string) = const compiledWithSsl = defined(ssl) when not defined(ssl): - type PSSLContext = ref object - let defaultSSLContext: PSSLContext = nil + let defaultSSLContext: SSLContext = nil else: var defaultSSLContext {.threadvar.}: SSLContext -- cgit 1.4.1-2-gfad0