Skip to content

Commit d4d9653

Browse files
trastgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2f93541 commit d4d9653

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-send-email.perl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,6 +1217,7 @@ sub send_message {
12171217
$smtp ||= Net::SMTP::SSL->new($smtp_server,
12181218
Hello => $smtp_domain,
12191219
Port => $smtp_server_port,
1220+
Debug => $debug_net_smtp,
12201221
ssl_verify_params());
12211222
}
12221223
else {

0 commit comments

Comments
 (0)