diff options
author | 2006-12-15 08:26:18 +0000 | |
---|---|---|
committer | 2006-12-15 08:26:18 +0000 | |
commit | 23c15b643bd5a2d21a8ff89dae5e4748ad0c719f (patch) | |
tree | 80cb6c6f8e3d8eba5ffd67f192f0c5b3c82c82d2 | |
parent | server-side Sticky bits. (diff) | |
download | wireguard-openbsd-23c15b643bd5a2d21a8ff89dae5e4748ad0c719f.tar.xz wireguard-openbsd-23c15b643bd5a2d21a8ff89dae5e4748ad0c719f.zip |
adjust the Directory request by sending the repository on a new line too.
matches gnu cvs behaviour.
-rw-r--r-- | usr.bin/cvs/client.c | 8 |
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); |