summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-12-15 08:26:19 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-12-15 08:26:19 +0000
commitf2476ae2c515018cc1162475bd5845219ad38ea4 (patch)
tree40acd0f5e3c811c00b104b707ec22e94377dd24b /usr.bin/cvs
parentbde5f356eb1af7a9529e063bdafb7b44084f0314 (diff)
adjust the Directory request by sending the repository on a new line too.
matches gnu cvs behaviour.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c
index da8354195d4..8564ea4db30 100644
--- a/usr.bin/cvs/client.c
+++ b/usr.bin/cvs/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.30 2006/12/15 08:02:53 xsa Exp $ */
+/* $OpenBSD: client.c,v 1.31 2006/12/15 08:26:18 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -394,11 +394,11 @@ cvs_client_senddir(const char *dir)
if (lastdir != NULL && !strcmp(dir, lastdir))
return;
- cvs_client_send_request("Directory %s", dir);
-
repo = xmalloc(MAXPATHLEN);
cvs_get_repository_path(dir, repo, MAXPATHLEN);
- cvs_remote_output(repo);
+
+ cvs_client_send_request("Directory %s\n%s", dir, repo);
+
xfree(repo);
d = xstrdup(dir);