![]() ![]() | ![]() |
version 1.41, 2007/09/02 12:13:00 | version 1.42, 2007/09/10 14:06:14 | ||
---|---|---|---|
|
|
||
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; |