Skip to content

Commit

Permalink
git-send-email: fix missing space in error message
Browse files Browse the repository at this point in the history
When the command cannot make a connection to the SMTP server the error
message to diagnose the broken configuration is issued.  However, when an
optional smtp-server-port is given and needs to be reported, the message
lacked a space between "hello=<smtp-domain>" and "port=<smtp-server-port>".

Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Sylvain Rabot authored and Junio C Hamano committed Apr 29, 2011
1 parent ec014ea commit a1dd7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-send-email.perl
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ sub send_message {
"VALUES: server=$smtp_server ",
"encryption=$smtp_encryption ",
"hello=$smtp_domain",
defined $smtp_server_port ? "port=$smtp_server_port" : "";
defined $smtp_server_port ? " port=$smtp_server_port" : "";
}

if (defined $smtp_authuser) {
Expand Down

0 comments on commit a1dd7e1

Please sign in to comment.