diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2013-09-26 12:27:29 -0700 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2013-09-26 12:27:29 -0700 |
commit | 31d757d5122438c76e2578c7e6bad2ed4f4eee89 (patch) | |
tree | d44c25f12f26209c94bd40f9f4ac7dfcd99f33eb | |
parent | 1d905f74fd2b05dcbc768acbb5426dc11fb00f6f (diff) | |
parent | 6cb0c883052118c35e424af7a311c66be9b366e1 (diff) | |
download | git-31d757d5122438c76e2578c7e6bad2ed4f4eee89.tar.gz |
Merge branch 'bc/send-email-ssl-die-message-fix' into maint
* bc/send-email-ssl-die-message-fix:
send-email: don't call methods on undefined values
-rwxr-xr-x | git-send-email.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl index 2162478392..3782c3b0cb 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -1234,7 +1234,7 @@ X-Mailer: git-send-email $gitversion if ($smtp->code == 220) { $smtp = Net::SMTP::SSL->start_SSL($smtp, ssl_verify_params()) - or die "STARTTLS failed! ".$smtp->message; + or die "STARTTLS failed! ".IO::Socket::SSL::errstr(); $smtp_encryption = ''; # Send EHLO again to receive fresh # supported commands |