diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c index 943722e7af1..60dc4f733fc 100644 --- a/usr.bin/cvs/client.c +++ b/usr.bin/cvs/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.109 2008/03/08 20:52:36 tobias Exp $ */ +/* $OpenBSD: client.c,v 1.110 2008/03/09 00:36:30 tobias Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * @@ -457,7 +457,7 @@ cvs_client_sendfile(struct cvs_file *cf) struct tm *datetm; char rev[CVS_REV_BUFSZ], timebuf[CVS_TIME_BUFSZ], sticky[CVS_REV_BUFSZ]; - if (cf->file_type != CVS_FILE) + if (cf->file_type != CVS_FILE || (cf->fd == -1 && cf->file_ent == NULL)) return; cvs_client_senddir(cf->file_wd); |