summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/parse.y
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-01-09 13:50:12 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-01-09 13:50:12 +0000
commite7a846275cccd81c533417c7c5aec5490dca4077 (patch)
treec70864a568813aeaba55b410a62e079aba71606d /usr.sbin/relayd/parse.y
parentbf19965ce7a408698b9a3f578cc2d7641fec1ec6 (diff)
Finish renaming hostated to hoststated.
Note to testers: the user the daemon changes its id to is now _hoststated, don't forget to update master.passwd. ok reyk@
Diffstat (limited to 'usr.sbin/relayd/parse.y')
-rw-r--r--usr.sbin/relayd/parse.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/relayd/parse.y b/usr.sbin/relayd/parse.y
index 66c0e120541..e3428244243 100644
--- a/usr.sbin/relayd/parse.y
+++ b/usr.sbin/relayd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.14 2007/01/09 00:45:32 deraadt Exp $ */
+/* $OpenBSD: parse.y,v 1.15 2007/01/09 13:50:11 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -43,7 +43,7 @@
#include "hoststated.h"
-struct hostated *conf = NULL;
+struct hoststated *conf = NULL;
static FILE *fin = NULL;
static int lineno = 1;
static int errors = 0;
@@ -742,7 +742,7 @@ top:
}
int
-parse_config(struct hostated *x_conf, const char *filename, int opts)
+parse_config(struct hoststated *x_conf, const char *filename, int opts)
{
struct sym *sym, *next;
@@ -775,7 +775,7 @@ parse_config(struct hostated *x_conf, const char *filename, int opts)
/* Free macros and check which have not been used. */
for (sym = TAILQ_FIRST(&symhead); sym != NULL; sym = next) {
next = TAILQ_NEXT(sym, entries);
- if ((conf->opts & HOSTATED_OPT_VERBOSE) && !sym->used)
+ if ((conf->opts & HOSTSTATED_OPT_VERBOSE) && !sym->used)
fprintf(stderr, "warning: macro '%s' not "
"used\n", sym->nam);
if (!sym->persist) {