]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Typo cleanup from DLM's recent changes
authorHarlan Stenn <stenn@ntp.org>
Sat, 1 Jan 2011 01:41:55 +0000 (20:41 -0500)
committerHarlan Stenn <stenn@ntp.org>
Sat, 1 Jan 2011 01:41:55 +0000 (20:41 -0500)
bk: 4d1e8663YW2xWaJ4J2xjVT2Dnali6Q

ntpd/ntp_control.c
ntpd/ntp_crypto.c

index aca3566755f9974438a5ec844a6dec1b15b5d419..4d48f2a0ef99d43add43af8612208cf68203770d 100644 (file)
@@ -2291,7 +2291,7 @@ ctl_putsys(
                break;
 
        case CS_HOST:
-               if (sys_hostname != NULL)
+               if (hostval.ptr != NULL)
                        ctl_putstr(sys_var[CS_HOST].text, hostval.ptr,
                            strlen(hostval.ptr));
                break;
index 21bb6f37dc3c46620235e67e3181e137e4ee2b8b..6e93f4ee99ebdefc2dd9facc6efe64f24cbefcb7 100644 (file)
@@ -3781,7 +3781,6 @@ crypto_setup(void)
                    filename);
                exit (-1);
        }
-printf("xxx %s %s\n", sys_hostname, sys_groupname);
 
        if (sys_groupname == NULL)
                snprintf(filename, MAXFILENAME, "%s", sys_hostname);