|
@ -1,4 +1,4 @@ |
|
|
/* $OpenBSD: ntp_dns.c,v 1.9 2015/02/12 01:54:57 reyk Exp $ */ |
|
|
|
|
|
|
|
|
/* $OpenBSD: ntp_dns.c,v 1.10 2015/03/24 18:25:27 henning Exp $ */ |
|
|
|
|
|
|
|
|
/* |
|
|
/* |
|
|
* Copyright (c) 2003-2008 Henning Brauer <henning@openbsd.org> |
|
|
* Copyright (c) 2003-2008 Henning Brauer <henning@openbsd.org> |
|
@ -84,7 +84,7 @@ ntp_dns(int pipe_ntp[2], struct ntpd_conf *nconf, struct passwd *pw) |
|
|
|
|
|
|
|
|
signal(SIGTERM, sighdlr_dns); |
|
|
signal(SIGTERM, sighdlr_dns); |
|
|
signal(SIGINT, sighdlr_dns); |
|
|
signal(SIGINT, sighdlr_dns); |
|
|
signal(SIGHUP, sighdlr_dns); |
|
|
|
|
|
|
|
|
signal(SIGHUP, SIG_IGN); |
|
|
|
|
|
|
|
|
if ((ibuf_dns = malloc(sizeof(struct imsgbuf))) == NULL) |
|
|
if ((ibuf_dns = malloc(sizeof(struct imsgbuf))) == NULL) |
|
|
fatal(NULL); |
|
|
fatal(NULL); |
|
|