Return to version.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.5, 2004/08/02 22:45:57 | version 1.6, 2004/08/27 15:39:22 | ||
---|---|---|---|
|
|
||
if (cvs_connect(root) < 0) | if (cvs_connect(root) < 0) | ||
return (1); | return (1); | ||
cvs_sendreq(root, CVS_REQ_VERSION, NULL); | printf("Server: %s\n", root->cr_version == NULL ? | ||
printf("Server: %s\n", root->cr_version); | "(unknown)" : root->cr_version); | ||
cvs_disconnect(root); | cvs_disconnect(root); | ||
} | } | ||