Return to util.c CVS log | Up to [local] / src / usr.bin / ftp |
version 1.29, 2002/03/30 17:45:44 | version 1.30, 2002/07/12 00:25:30 | ||
---|---|---|---|
|
|
||
* free(*cpp) if that is the case | * free(*cpp) if that is the case | ||
*/ | */ | ||
*cpp = strdup(gl.gl_pathv[0]); | *cpp = strdup(gl.gl_pathv[0]); | ||
if (*cpp == NULL) | |||
err(1, NULL); | |||
globfree(&gl); | globfree(&gl); | ||
return (1); | return (1); | ||
} | } |