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 <tr@thomasrast.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Thomas Rast committed
Dec 1, 2013 at 23:48 UTC
d4d9653b5401b28dd88a84bd1bf1d269b8acccf6
1 file changed
+1
git-send-email.perl
+1
@@ -1217,6 +1217,7 @@ X-Mailer: git-send-email $gitversion
1217
$smtp ||= Net::SMTP::SSL->new($smtp_server,
1218
Hello => $smtp_domain,
1219
Port => $smtp_server_port,
1220
+ Debug => $debug_net_smtp,
1221
ssl_verify_params());
1222
}
1223
else {