my_popen: fix indentation

This commit is contained in:
Stefan Seyfried
2014-02-23 17:24:19 +01:00
parent c44191274a
commit 76b0c36a28

View File

@@ -207,8 +207,8 @@ FILE* my_popen( pid_t& pid, const char *cmdstring, const char *type)
close(pfd[1]);
if ((fp = fdopen(pfd[0], type)) == NULL)
return(NULL);
} else {
close(pfd[0]);
} else {
close(pfd[0]);
if ((fp = fdopen(pfd[1], type)) == NULL)
return(NULL);
}