diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2010-07-01 22:16:21 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2010-07-01 22:16:21 +0000 |
commit | 335ff690f2b69831b4ff2617a13abbf346174076 (patch) | |
tree | dd95dcf9d2e73054df494d903f1b119b971bbbdc /usr.sbin/ntpd/ntpd.c | |
parent | 036b858cf6e49f715769620cd15b703983be8f6a (diff) |
don't need to setup the resolver early now that dns lookups are done
by the dns engine.
ok henning@
Diffstat (limited to 'usr.sbin/ntpd/ntpd.c')
-rw-r--r-- | usr.sbin/ntpd/ntpd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ntpd/ntpd.c b/usr.sbin/ntpd/ntpd.c index 066cbd0a75c..25d7a21cfba 100644 --- a/usr.sbin/ntpd/ntpd.c +++ b/usr.sbin/ntpd/ntpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.c,v 1.67 2010/05/26 13:56:08 nicm Exp $ */ +/* $OpenBSD: ntpd.c,v 1.68 2010/07/01 22:16:20 eric Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -23,7 +23,6 @@ #include <errno.h> #include <poll.h> #include <pwd.h> -#include <resolv.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> @@ -97,7 +96,6 @@ main(int argc, char *argv[]) bzero(&lconf, sizeof(lconf)); log_init(1); /* log to stderr until daemonized */ - res_init(); /* XXX */ while ((ch = getopt(argc, argv, "df:nsSv")) != -1) { switch (ch) { |