=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/client.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- src/usr.bin/cvs/client.c 2006/12/15 08:02:53 1.30 +++ src/usr.bin/cvs/client.c 2006/12/15 08:26:18 1.31 @@ -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 * @@ -394,11 +394,11 @@ 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);