From b2baab22a9078c03ac94b579b5a52f2d757e932b Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Sun, 9 Mar 2008 03:32:02 +0000 Subject: revert one of tobias his changes, it broke remote for several commands. --- usr.bin/cvs/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin') 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 * @@ -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); -- cgit v1.2.3