[nsd-users] use_systemd typo/leftover in remote.c
wouter at nlnetlabs.nl
Wed Aug 15 13:51:16 CEST 2018
Thank you for the notice, yes it is a leftover from a previous fix.
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
> 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;
> - (void)use_systemd;
> log_msg(LOG_ERR, "Local sockets are not supported");
> *noproto = 1;
More information about the nsd-users