diff options
author | Thomas Rast <tr@thomasrast.ch> | 2013-12-01 23:48:41 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-04 11:45:27 -0800 |
commit | d4d9653b5401b28dd88a84bd1bf1d269b8acccf6 (patch) | |
tree | 2173533a044a7c9ba04be0177b4f4348c8ec97bb | |
parent | 2f93541d88fadd1ff5307d81c2c8921ee3eea058 (diff) | |
download | git-d4d9653b5401b28dd88a84bd1bf1d269b8acccf6.tar.gz |
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>
-rwxr-xr-x | git-send-email.perl | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |