From 04fd8c277ccb7f14a1b9c3fddce0dfbad3383475 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 1 Mar 2014 21:17:56 +0100 Subject: [PATCH] my_popen: fix indentation --- src/system/helpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/helpers.cpp b/src/system/helpers.cpp index 2ab1512cd..3ab043b44 100644 --- a/src/system/helpers.cpp +++ b/src/system/helpers.cpp @@ -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); }