NULL -> '\0'

This commit is contained in:
Todd C. Miller
1995-03-29 20:58:57 +00:00
parent 5db1b51dae
commit dda75b2fd7

View File

@@ -101,7 +101,7 @@ char * find_path(file)
char *result = NULL; /* result of path/file lookup */ char *result = NULL; /* result of path/file lookup */
int checkdot = 0; /* check current dir? */ int checkdot = 0; /* check current dir? */
command[0] = NULL; command[0] = '\0';
if (strlen(file) > MAXPATHLEN) { if (strlen(file) > MAXPATHLEN) {
errno = ENAMETOOLONG; errno = ENAMETOOLONG;