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.9-rc0~62^2~2
X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d4d9653b5401b28dd88a84bd1bf1d269b8acccf6;p=thirdparty%2Fgit.git
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 @@ X-Mailer: git-send-email $gitversion
$smtp ||= Net::SMTP::SSL->new($smtp_server,
Hello => $smtp_domain,
Port => $smtp_server_port,
+ Debug => $debug_net_smtp,
ssl_verify_params());
}
else {