cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2313 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-02-10 02:26:08 +00:00
parent d7ca85c86c
commit 0df875a45d
2 changed files with 2 additions and 2 deletions

View File

@ -2351,7 +2351,7 @@ int readable_dir(const char *path)
/* If dir is NULL, don't do closedir(), since that changes errno. */
if (dir != NULL)
closedir(dir);
return dir != NULL;
return (dir != NULL);
}
/* Initialize the browser code, including the list of files in *path */

View File

@ -1094,7 +1094,7 @@ bool open_pipe(const char *command)
dup2(fd[1], fileno(stderr));
/* If execl() returns at all, there was an error. */
execl("/bin/sh", "sh", "-c", command, 0);
execl("/bin/sh", "sh", "-c", command, NULL);
exit(0);
}