Re: use_systemd typo/leftover in remote.c
Wouter Wijngaards <[email protected]>
| Newsgroups | gmane.network.dns.nsd.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Florian, Thank you for the notice, yes it is a leftover from a previous fix. Removed it. Best regards, Wouter On 15/08/18 13:39, Florian Obser wrote: > so I had an old config.h lying around which made the compiler believe > that the system doesn't have sys/un.h. > > /usr/src/usr.sbin/nsd/remote.c:2377:8: error: use of undeclared identifier > 'use_systemd' > (void)use_systemd; > ^ > 1 error generated. > > however, use_systemd doesn't exist anyway in global scope, just > dropping it is probably correct. I'm fresh out of systems that support > systemd but don't have sys/un.h to test on though ;) > > diff --git remote.c remote.c > index 24486e37..a4934c30 100644 > --- remote.c > +++ remote.c > @@ -2390,7 +2390,6 @@ err: > return -1; > > #else > - (void)use_systemd; > (void)path; > log_msg(LOG_ERR, "Local sockets are not supported"); > *noproto = 1; > > _______________________________________________ nsd-users mailing list [email protected] https://open.nlnetlabs.nl/mailman/listinfo/nsd-users