[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.42 and 1.43

version 1.42, 2007/09/10 14:06:14 version 1.43, 2007/09/10 19:11:08
Line 133 
Line 133 
         pp = strchr(sp, ':');          pp = strchr(sp, ':');
         if (pp != NULL) {          if (pp != NULL) {
                 *(pp++) = '\0';                  *(pp++) = '\0';
                   root->cr_port = strtonum(pp, 1, 65535, &errstr);
                 i = strtonum(pp, 1, 65535, &errstr);  
                 if (errstr != NULL)                  if (errstr != NULL)
                         fatal("port specification in CVSROOT is %s", errstr);                          fatal("port specification in CVSROOT is %s", errstr);
   
                 root->cr_port = pp;  
         }          }
   
         root->cr_host = sp;          root->cr_host = sp;

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43