=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/root.c,v retrieving revision 1.33 retrieving revision 1.34 diff -c -r1.33 -r1.34 *** src/usr.bin/cvs/root.c 2006/06/16 14:07:42 1.33 --- src/usr.bin/cvs/root.c 2007/01/18 22:52:23 1.34 *************** *** 1,4 **** ! /* $OpenBSD: root.c,v 1.33 2006/06/16 14:07:42 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: root.c,v 1.34 2007/01/18 22:52:23 niallo Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 79,85 **** * at the first position again. */ TAILQ_FOREACH(root, &cvs_rcache, root_cache) { ! if (strcmp(str, root->cr_str) == 0) { TAILQ_REMOVE(&cvs_rcache, root, root_cache); TAILQ_INSERT_HEAD(&cvs_rcache, root, root_cache); root->cr_ref++; --- 79,85 ---- * at the first position again. */ TAILQ_FOREACH(root, &cvs_rcache, root_cache) { ! if (root->cr_str != NULL && strcmp(str, root->cr_str) == 0) { TAILQ_REMOVE(&cvs_rcache, root, root_cache); TAILQ_INSERT_HEAD(&cvs_rcache, root, root_cache); root->cr_ref++;