From: Thomas Rast
Date: Sun, 1 Dec 2013 22:48:41 +0000 (+0100)
Subject: send-email: pass Debug to Net::SMTP::SSL::new
X-Git-Tag: v1.8.5.4~8^2~2
X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d4d9653b5401b28dd88a84bd1bf1d269b8acccf6
send-email: pass Debug to Net::SMTP::SSL::new
We forgot to pass the Debug option through to Net::SMTP::SSL->new --
which is the same as Net::SMTP->new. This meant that with security
set to SSL, we would never enable debug output.
Pass through the flag.
Signed-off-by: Thomas Rast
Signed-off-by: Junio C Hamano
---
diff --git a/git-send-email.perl b/git-send-email.perl
index 3782c3b0cb..f7468b6366 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -1217,6 +1217,7 @@ sub send_message {
$smtp ||= Net::SMTP::SSL->new($smtp_server,
Hello => $smtp_domain,
Port => $smtp_server_port,
+ Debug => $debug_net_smtp,
ssl_verify_params());
}
else {