Return to root.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.42, 2007/09/10 14:06:14 | version 1.43, 2007/09/10 19:11:08 | ||
---|---|---|---|
|
|
||
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; |