]> git.eshelyaron.com Git - emacs.git/commitdiff
(init_system_name): If domain is null, don't add a period.
authorRichard M. Stallman <rms@gnu.org>
Sun, 10 Aug 1997 00:15:53 +0000 (00:15 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 10 Aug 1997 00:15:53 +0000 (00:15 +0000)
src/sysdep.c

index 8a8ccbd885f73a4260b503c0b2c03f2d30f79a09..9a73b1c059dd2f62a572333a84ceb6517fc02564 100644 (file)
@@ -2324,7 +2324,7 @@ init_system_name ()
          strcpy (fqdn, hostname);
          if (domain[0] == '.')
            strcpy (fqdn + hostlen, domain);
-         else
+         else if (domain[0] != 0)
            {
              fqdn[hostlen] = '.';
              strcpy (fqdn + hostlen + 1, domain);