Skip to content

Commit a1dd7e1

Browse files
sylrgitster
authored andcommitted
git-send-email: fix missing space in error message
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ec014ea commit a1dd7e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-send-email.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ sub send_message {
10911091
"VALUES: server=$smtp_server ",
10921092
"encryption=$smtp_encryption ",
10931093
"hello=$smtp_domain",
1094-
defined $smtp_server_port ? "port=$smtp_server_port" : "";
1094+
defined $smtp_server_port ? " port=$smtp_server_port" : "";
10951095
}
10961096

10971097
if (defined $smtp_authuser) {

0 commit comments

Comments
 (0)