diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-06-24 10:12:09 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-06-24 10:12:09 +0200 |
commit | 1b0ac71a33fab072c55ba3b52ab960c6a8830b59 (patch) | |
tree | 5b3f299bb99963e5b37d819ef0822ea141647bb7 /thread.c | |
parent | 7b3d0ce03eab74060b2887b51ce9aac562678cf2 (diff) | |
download | vdr-1b0ac71a33fab072c55ba3b52ab960c6a8830b59.tar.gz vdr-1b0ac71a33fab072c55ba3b52ab960c6a8830b59.tar.bz2 |
Removed a double fdopen() in cPipe::Open()
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: thread.c 1.55 2006/06/02 13:51:39 kls Exp $ + * $Id: thread.c 1.56 2006/06/24 10:10:58 kls Exp $ */ #include "thread.h" @@ -423,7 +423,6 @@ bool cPipe::Open(const char *Command, const char *Mode) iopipe = 1; } close(fd[iopipe]); - f = fdopen(fd[1 - iopipe], mode); if ((f = fdopen(fd[1 - iopipe], mode)) == NULL) { LOG_ERROR; close(fd[1 - iopipe]); |