Commit 0df875a4 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2313 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent d7ca85c8
Showing with 2 additions and 2 deletions
+2 -2
...@@ -2351,7 +2351,7 @@ int readable_dir(const char *path) ...@@ -2351,7 +2351,7 @@ int readable_dir(const char *path)
/* If dir is NULL, don't do closedir(), since that changes errno. */ /* If dir is NULL, don't do closedir(), since that changes errno. */
if (dir != NULL) if (dir != NULL)
closedir(dir); closedir(dir);
return dir != NULL; return (dir != NULL);
} }
/* Initialize the browser code, including the list of files in *path */ /* Initialize the browser code, including the list of files in *path */
......
...@@ -1094,7 +1094,7 @@ bool open_pipe(const char *command) ...@@ -1094,7 +1094,7 @@ bool open_pipe(const char *command)
dup2(fd[1], fileno(stderr)); dup2(fd[1], fileno(stderr));
/* If execl() returns at all, there was an error. */ /* 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); exit(0);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment