Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Dec 27, 2024
1 parent 5b44b67 commit 8ba12d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/net/smtp/smtp.v
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub fn (mut c Client) reconnect() ! {
conn := net.dial_tcp('${c.server}:${c.port}') or { return error('Connecting to server failed') }
c.conn = conn

if c.ssl {
if c.ssl || c.encrypted {
c.connect_ssl()!
} else {
c.reader = io.new_buffered_reader(reader: c.conn)
Expand Down

0 comments on commit 8ba12d5

Please sign in to comment.