summaryrefslogtreecommitdiff
path: root/src/plugins/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/console.c')
-rw-r--r--src/plugins/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/console.c b/src/plugins/console.c
index 74c431d32..673a30e78 100644
--- a/src/plugins/console.c
+++ b/src/plugins/console.c
@@ -277,7 +277,7 @@ void input_setstate(char state)
{
if( state == INPUT_READY && input_getstate() == INPUT_READING )
{// send data from the worker to the main process
- write(buf.data_pipe[PIPE_WRITE], &buf.len, sizeof(buf.len));
+ write(buf.data_pipe[PIPE_WRITE], &buf.len, sizeof(buf.len));
write(buf.data_pipe[PIPE_WRITE], &buf.arr, buf.len);
} else if( state == INPUT_WAITING ){
if( buf.close_unused_flag == 0 )