[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.41 and 1.42

version 1.41, 2007/09/02 12:13:00 version 1.42, 2007/09/10 14:06:14
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.41  
changed lines
  Added in v.1.42