my_popen: fix indentation

This commit is contained in:
Stefan Seyfried
2014-03-01 21:17:56 +01:00
committed by svenhoefer
parent 64a61f5aa2
commit 04fd8c277c

View File

@@ -205,8 +205,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);
}