2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-29 13:28:10 +00:00

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;