![]() ![]() | ![]() |
version 1.18, 2005/04/11 18:02:58 | version 1.19, 2005/04/12 14:58:40 | ||
---|---|---|---|
|
|
||
case 'r': | case 'r': | ||
break; | break; | ||
default: | default: | ||
return (1); | return (CVS_EX_USAGE); | ||
} | } | ||
} | } | ||
|
|
||
if (root->cr_method != CVS_METHOD_LOCAL) { | if (root->cr_method != CVS_METHOD_LOCAL) { | ||
if ((entp != NULL) && (cvs_sendentry(root, entp) < 0)) { | if ((entp != NULL) && (cvs_sendentry(root, entp) < 0)) { | ||
cvs_ent_free(entp); | cvs_ent_free(entp); | ||
return (-1); | return (CVS_EX_PROTO); | ||
} | } | ||
switch (cf->cf_cvstat) { | switch (cf->cf_cvstat) { | ||
|
|
||
if (rf == NULL) { | if (rf == NULL) { | ||
if (entp != NULL) | if (entp != NULL) | ||
cvs_ent_free(entp); | cvs_ent_free(entp); | ||
return (-1); | return (CVS_EX_DATA); | ||
} | } | ||
rcs_close(rf); | rcs_close(rf); |