X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fntpd.c;h=baa1988b26596665b0a5936042de5ecd9a113f80;hb=614660f40c32b5af9b6c4852e4e370fc3953a5c8;hp=8976866d083234e9741890914cb4139d02f68866;hpb=7b0628b4f4688d48d89f94ca381ca6340da05b37;p=collectd.git diff --git a/src/ntpd.c b/src/ntpd.c index 8976866d..baa1988b 100644 --- a/src/ntpd.c +++ b/src/ntpd.c @@ -66,7 +66,7 @@ static bool include_unit_id; #define NTPD_DEFAULT_HOST "localhost" #define NTPD_DEFAULT_PORT "123" static int sock_descr = -1; -static char *ntpd_host = NULL; +static char *ntpd_host; static char ntpd_port[16]; /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *