aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 4005bf2..1e42b87 100644
--- a/src/main.c
+++ b/src/main.c
@@ -64,10 +64,10 @@ int main(int argc, char **argv, char **envp)
/* printf("%s\n", ast->data.line.left->data.cmd.argv[0]); */
/* printf("%s\n", ast->data.line.left->data.cmd.argv[1]); */
- state.in_pipe[0] = -1;
- state.in_pipe[1] = -1;
- state.out_pipe[0] = -1;
- state.out_pipe[1] = -1;
+ state.pipe_in[0] = -1;
+ state.pipe_in[1] = -1;
+ state.pipe_out[0] = -1;
+ state.pipe_out[1] = -1;
state.path = path;
state.env = env;
eval(&state, ast);