=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/client.c,v retrieving revision 1.100 retrieving revision 1.101 diff -c -r1.100 -r1.101 *** src/usr.bin/cvs/client.c 2008/02/05 21:49:29 1.100 --- src/usr.bin/cvs/client.c 2008/02/09 12:48:23 1.101 *************** *** 1,4 **** ! /* $OpenBSD: client.c,v 1.100 2008/02/05 21:49:29 tobias Exp $ */ /* * Copyright (c) 2006 Joris Vink * --- 1,4 ---- ! /* $OpenBSD: client.c,v 1.101 2008/02/09 12:48:23 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * *************** *** 161,167 **** STRIP_SLASH(data); /* first directory we get is our module root */ ! if (module_repo_root == NULL) { p = repository + strlen(current_cvsroot->cr_dir) + 1; module_repo_root = xstrdup(p); p = strrchr(module_repo_root, '/'); --- 161,167 ---- STRIP_SLASH(data); /* first directory we get is our module root */ ! if (module_repo_root == NULL && checkout_target_dir != NULL) { p = repository + strlen(current_cvsroot->cr_dir) + 1; module_repo_root = xstrdup(p); p = strrchr(module_repo_root, '/');