diff options
author | 2005-05-28 01:34:28 +0000 | |
---|---|---|
committer | 2005-05-28 01:34:28 +0000 | |
commit | 598d51c23c74d610b938193ea90b9fdd130ef23c (patch) | |
tree | d696c2f31d0b273fc229ea94540f1385ce1b34b3 | |
parent | Optionally prevent syncing failover node-node SA/SPD info (master side). (diff) | |
download | wireguard-openbsd-598d51c23c74d610b938193ea90b9fdd130ef23c.tar.xz wireguard-openbsd-598d51c23c74d610b938193ea90b9fdd130ef23c.zip |
make sure we check the Entry file when we need to.
ok jfb@
-rw-r--r-- | usr.bin/cvs/file.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c index 9ac42f57760..c0ae26ea219 100644 --- a/usr.bin/cvs/file.c +++ b/usr.bin/cvs/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.80 2005/05/25 09:42:12 jfb Exp $ */ +/* $OpenBSD: file.c,v 1.81 2005/05/28 01:34:28 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -621,7 +621,8 @@ cvs_file_getdir(CVSFILE *cf, int flags, char *path, int (*cb)(CVSFILE *, void *) DIR *dirp; CVSENTRIES *entfile; - check_entry = ndirs = nfiles = 0; + check_entry = 1; + ndirs = nfiles = 0; SIMPLEQ_INIT(&dirs); cvs_file_getpath(cf, fpath, sizeof(fpath)); |