diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-08-17 14:32:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 14:32:52 +0200 |
commit | 6feb3900b121a356a1c091855008d080223ea802 (patch) | |
tree | 403226f0d5654dff9cafb162dff25af2ed88de69 /lib/pure/smtp.nim | |
parent | cd28fe2ef7a204721efa72082c9f65f8d13bcfb3 (diff) | |
download | Nim-6feb3900b121a356a1c091855008d080223ea802.tar.gz |
fixes #15177, the error message is now what it should have been (#15195)
Diffstat (limited to 'lib/pure/smtp.nim')
-rw-r--r-- | lib/pure/smtp.nim | 5 |
1 files changed, 2 insertions, 3 deletions
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 |