From a8c5498014caac525785d287fff7e404171699af Mon Sep 17 00:00:00 2001 From: henning <> Date: Mon, 30 Aug 2004 12:02:59 +0000 Subject: [PATCH] don't forget to set *hn... theo ok --- src/usr.sbin/ntpd/config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/usr.sbin/ntpd/config.c b/src/usr.sbin/ntpd/config.c index cb9f68b9..8646accb 100644 --- a/src/usr.sbin/ntpd/config.c +++ b/src/usr.sbin/ntpd/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.13 2004/08/30 11:52:04 deraadt Exp $ */ +/* $OpenBSD: config.c,v 1.14 2004/08/30 12:02:59 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -53,6 +53,7 @@ host(const char *s, struct ntp_addr **hn) if (h == NULL) h = host_v6(s); + *hn = h; if (h == NULL) return (0); return (1);