summaryrefslogtreecommitdiff
path: root/git-send-email.perl
diff options
context:
space:
mode:
authorSylvain Rabot <sylvain@abstraction.fr>2011-04-29 20:23:24 +0200
committerJunio C Hamano <gitster@pobox.com>2011-04-29 11:34:32 -0700
commita1dd7e16ad6df793fc393d6df8e9082261a0ce42 (patch)
treef10eea8ab4d2baf0359204b74799de0a9aceae58 /git-send-email.perl
parentec014eac0e9e6f30cbbca616090fa2ecf74797e7 (diff)
downloadgit-a1dd7e16ad6df793fc393d6df8e9082261a0ce42.tar.gz
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>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-xgit-send-email.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl
index 76565de2ee..98ab33aae7 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -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) {