diff options
-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)); |