diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-04-07 18:11:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-04-07 18:11:22 +0000 |
commit | 274f395e7a8174292ded0db094180ad4731d24ff (patch) | |
tree | cc9d11324b6f19f3e848d7fa57d5cea116ba98d8 /src/util/os_priority.c | |
parent | 5b9f36fd2b91e21bab7ffeff2c92e9f9546df215 (diff) | |
download | gnunet-274f395e7a8174292ded0db094180ad4731d24ff.tar.gz gnunet-274f395e7a8174292ded0db094180ad4731d24ff.zip |
-process in logical order
Diffstat (limited to 'src/util/os_priority.c')
-rw-r--r-- | src/util/os_priority.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/util/os_priority.c b/src/util/os_priority.c index 9ff790f3c..d3310abb1 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c | |||
@@ -563,28 +563,28 @@ start_process (int pipe_control, | |||
563 | childpipe_write = NULL; | 563 | childpipe_write = NULL; |
564 | childpipe_read_fd = -1; | 564 | childpipe_read_fd = -1; |
565 | } | 565 | } |
566 | if (NULL != pipe_stdout) | 566 | if (NULL != pipe_stdin) |
567 | { | 567 | { |
568 | GNUNET_assert (GNUNET_OK == | 568 | GNUNET_assert (GNUNET_OK == |
569 | GNUNET_DISK_internal_file_handle_ (GNUNET_DISK_pipe_handle | 569 | GNUNET_DISK_internal_file_handle_ (GNUNET_DISK_pipe_handle |
570 | (pipe_stdout, | 570 | (pipe_stdin, GNUNET_DISK_PIPE_END_READ), |
571 | GNUNET_DISK_PIPE_END_WRITE), | 571 | &fd_stdin_read, sizeof (int))); |
572 | &fd_stdout_write, sizeof (int))); | ||
573 | GNUNET_assert (GNUNET_OK == | 572 | GNUNET_assert (GNUNET_OK == |
574 | GNUNET_DISK_internal_file_handle_ (GNUNET_DISK_pipe_handle | 573 | GNUNET_DISK_internal_file_handle_ (GNUNET_DISK_pipe_handle |
575 | (pipe_stdout, GNUNET_DISK_PIPE_END_READ), | 574 | (pipe_stdin, GNUNET_DISK_PIPE_END_WRITE), |
576 | &fd_stdout_read, sizeof (int))); | 575 | &fd_stdin_write, sizeof (int))); |
577 | } | 576 | } |
578 | if (NULL != pipe_stdin) | 577 | if (NULL != pipe_stdout) |
579 | { | 578 | { |
580 | GNUNET_assert (GNUNET_OK == | 579 | GNUNET_assert (GNUNET_OK == |
581 | GNUNET_DISK_internal_file_handle_ (GNUNET_DISK_pipe_handle | 580 | GNUNET_DISK_internal_file_handle_ (GNUNET_DISK_pipe_handle |
582 | (pipe_stdin, GNUNET_DISK_PIPE_END_READ), | 581 | (pipe_stdout, |
583 | &fd_stdin_read, sizeof (int))); | 582 | GNUNET_DISK_PIPE_END_WRITE), |
583 | &fd_stdout_write, sizeof (int))); | ||
584 | GNUNET_assert (GNUNET_OK == | 584 | GNUNET_assert (GNUNET_OK == |
585 | GNUNET_DISK_internal_file_handle_ (GNUNET_DISK_pipe_handle | 585 | GNUNET_DISK_internal_file_handle_ (GNUNET_DISK_pipe_handle |
586 | (pipe_stdin, GNUNET_DISK_PIPE_END_WRITE), | 586 | (pipe_stdout, GNUNET_DISK_PIPE_END_READ), |
587 | &fd_stdin_write, sizeof (int))); | 587 | &fd_stdout_read, sizeof (int))); |
588 | } | 588 | } |
589 | if (NULL != pipe_stderr) | 589 | if (NULL != pipe_stderr) |
590 | { | 590 | { |