From ed5fac7d36c0047a332a08cfe80a927f1d5d0277 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 23 Feb 2014 17:24:19 +0100 Subject: [PATCH] my_popen: fix indentation Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/76b0c36a28b921a479c6fab20ceece881492a01b Author: Stefan Seyfried Date: 2014-02-23 (Sun, 23 Feb 2014) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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 788016e1f..18c01ed43 100644 --- a/src/system/helpers.cpp +++ b/src/system/helpers.cpp @@ -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); }