Skip to content

Commit

Permalink
send-email: pass Debug to Net::SMTP::SSL::new
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Rast authored and Junio C Hamano committed Dec 4, 2013
1 parent 2f93541 commit d4d9653
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-send-email.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d4d9653

Please sign in to comment.