[BACK]Return to root.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/root.c between version 1.33 and 1.34

version 1.33, 2006/06/16 14:07:42 version 1.34, 2007/01/18 22:52:23
Line 79 
Line 79 
          * at the first position again.           * at the first position again.
          */           */
         TAILQ_FOREACH(root, &cvs_rcache, root_cache) {          TAILQ_FOREACH(root, &cvs_rcache, root_cache) {
                 if (strcmp(str, root->cr_str) == 0) {                  if (root->cr_str != NULL && strcmp(str, root->cr_str) == 0) {
                         TAILQ_REMOVE(&cvs_rcache, root, root_cache);                          TAILQ_REMOVE(&cvs_rcache, root, root_cache);
                         TAILQ_INSERT_HEAD(&cvs_rcache, root, root_cache);                          TAILQ_INSERT_HEAD(&cvs_rcache, root, root_cache);
                         root->cr_ref++;                          root->cr_ref++;

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34