diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-09-02 23:27:56 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-09-02 23:27:56 +0000 |
commit | a91c5cdc077ee637bcbf0f039b536f893685bea5 (patch) | |
tree | 2b776db43bf210d666fa8671c6f8451730f2b9e9 /usr.sbin/faithd/prefix.c | |
parent | cb0dc8740698341157dc44edd454c30e2b3253e3 (diff) |
make sure config_list does not get garbage. from kame
Diffstat (limited to 'usr.sbin/faithd/prefix.c')
-rw-r--r-- | usr.sbin/faithd/prefix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/faithd/prefix.c b/usr.sbin/faithd/prefix.c index 7aca3a27688..3ad8e58fa0a 100644 --- a/usr.sbin/faithd/prefix.c +++ b/usr.sbin/faithd/prefix.c @@ -1,5 +1,5 @@ -/* $OpenBSD: prefix.c,v 1.6 2002/09/08 01:20:15 itojun Exp $ */ -/* $KAME: prefix.c,v 1.12 2002/09/08 01:14:46 itojun Exp $ */ +/* $OpenBSD: prefix.c,v 1.7 2003/09/02 23:27:55 itojun Exp $ */ +/* $KAME: prefix.c,v 1.13 2003/09/02 22:50:17 itojun Exp $ */ /* * Copyright (C) 2000 WIDE Project. @@ -279,6 +279,7 @@ config_load(const char *configfile) return -1; p = &sentinel; + sentinel.next = NULL; while (fgets(buf, sizeof(buf), fp) != NULL) { conf = config_load1(buf); if (conf) { |