Browse Source

don't forget to set *hn... theo ok

OPENBSD_3_6
henning 20 years ago
parent
commit
a8c5498014
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/usr.sbin/ntpd/config.c

+ 2
- 1
src/usr.sbin/ntpd/config.c View File

@ -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 <henning@openbsd.org>
@ -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);


Loading…
Cancel
Save