summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2008-03-09 03:32:02 +0000
committerJoris Vink <joris@cvs.openbsd.org>2008-03-09 03:32:02 +0000
commitb2baab22a9078c03ac94b579b5a52f2d757e932b (patch)
treecf53b48e300f0fea7a8ad531f50f0b1989fdf5c4 /usr.bin
parent57bbfd67e0c60361607f0fe9754b6e180f256a89 (diff)
revert one of tobias his changes, it broke remote for several commands.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c
index 60dc4f733fc..93160b77b8c 100644
--- a/usr.bin/cvs/client.c
+++ b/usr.bin/cvs/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.110 2008/03/09 00:36:30 tobias Exp $ */
+/* $OpenBSD: client.c,v 1.111 2008/03/09 03:32:01 joris 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 || (cf->fd == -1 && cf->file_ent == NULL))
+ if (cf->file_type != CVS_FILE)
return;
cvs_client_senddir(cf->file_wd);