summaryrefslogtreecommitdiff
path: root/lib/InPipe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/InPipe.cc')
-rw-r--r--lib/InPipe.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/InPipe.cc b/lib/InPipe.cc
index 2048fae..efcab10 100644
--- a/lib/InPipe.cc
+++ b/lib/InPipe.cc
@@ -5,7 +5,8 @@
#include "Output.h"
#include "gettext.h"
-InPipe::InPipe() : Handle(pipe(p, 0)), hooked(0) { }
+InPipe::InPipe() : Handle(pipe(p, 0)), hooked(0) {
+}
InPipe::InPipe(const InPipe & i) : Handle(i), hooked(i.hooked) {
p[0] = GetHandle();