Code

git-send-email: fix missing space in error message
authorSylvain Rabot <sylvain@abstraction.fr>
Fri, 29 Apr 2011 18:23:24 +0000 (20:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Apr 2011 18:34:32 +0000 (11:34 -0700)
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>
git-send-email.perl

index 76565de2ee517f48001ffacca32e3c08320cfe38..98ab33aae7e35c2d288bc34ddb2bbc71f8a16cdd 100755 (executable)
@@ -1091,7 +1091,7 @@ X-Mailer: git-send-email $gitversion
                            "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) {