summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2006-06-19 05:05:18 +0000
committerJoris Vink <joris@cvs.openbsd.org>2006-06-19 05:05:18 +0000
commit215d3a82d2125515ff4319b928ee9941847c8272 (patch)
treece8e169c30526ce6cb7b54f27ab64af235950590 /usr.bin/cvs/checkout.c
parente7f1f343497e8e081891ccb40c0fa9e2894ba412 (diff)
kill local and remote callback and just have one called fileproc.
we let the commands pass the correct function. all in preparation for remote.
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r--usr.bin/cvs/checkout.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index e54bc3282f1..e86bd49de4c 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.63 2006/06/16 14:07:42 joris Exp $ */
+/* $OpenBSD: checkout.c,v 1.64 2006/06/19 05:05:17 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -144,8 +144,7 @@ checkout_repository(const char *repobase, const char *wdbase)
build_dirs = 1;
cr.enterdir = cvs_update_enterdir;
cr.leavedir = cvs_update_leavedir;
- cr.local = cvs_update_local;
- cr.remote = NULL;
+ cr.fileproc = cvs_update_local;
cr.flags = CR_REPO | CR_RECURSE_DIRS;
cvs_repository_lock(repobase);