X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fntpd.c;h=baa1988b26596665b0a5936042de5ecd9a113f80;hb=38e94dcc796e5d00088826ffd5d43ca5a2e590a2;hp=8976866d083234e9741890914cb4139d02f68866;hpb=6e41c3b1f024d7944e5e8010a87933555c662474;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]; /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *