aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 8a8ccbd885f..9a73b1c059d 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -2324,7 +2324,7 @@ init_system_name ()
2324 strcpy (fqdn, hostname); 2324 strcpy (fqdn, hostname);
2325 if (domain[0] == '.') 2325 if (domain[0] == '.')
2326 strcpy (fqdn + hostlen, domain); 2326 strcpy (fqdn + hostlen, domain);
2327 else 2327 else if (domain[0] != 0)
2328 { 2328 {
2329 fqdn[hostlen] = '.'; 2329 fqdn[hostlen] = '.';
2330 strcpy (fqdn + hostlen + 1, domain); 2330 strcpy (fqdn + hostlen + 1, domain);