@matheusbsbs / matheus-bagliano / commits / a1dd7e16ad
Fork 0

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 <sylvain@abstraction.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Sylvain Rabot committed Apr 29, 2011 at 20:23 UTC a1dd7e16ad6df793fc393d6df8e9082261a0ce42
1 file changed +1 -1
git-send-email.perl
+1 -1
@@ -1091,7 +1091,7 @@ X-Mailer: git-send-email $gitversion
1091 "VALUES: server=$smtp_server ",
1092 "encryption=$smtp_encryption ",
1093 "hello=$smtp_domain",
1094 - defined $smtp_server_port ? "port=$smtp_server_port" : "";
1094 + defined $smtp_server_port ? " port=$smtp_server_port" : "";
1095 }
1096
1097 if (defined $smtp_authuser) {