diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-10-05 12:51:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-10-05 12:51:05 +0000 |
commit | f811206714d9cef29580a1944a0ef55d7be4972a (patch) | |
tree | 1c09388397dd93f2006e8737f2b1f369bfe7923a /src/util/test_scheduler.c | |
parent | a8594b108fb91bf69b56cc69fe918e12ef43357b (diff) | |
download | gnunet-f811206714d9cef29580a1944a0ef55d7be4972a.tar.gz gnunet-f811206714d9cef29580a1944a0ef55d7be4972a.zip |
code clean up
Diffstat (limited to 'src/util/test_scheduler.c')
-rw-r--r-- | src/util/test_scheduler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_scheduler.c b/src/util/test_scheduler.c index 811389953..b19ccff2d 100644 --- a/src/util/test_scheduler.c +++ b/src/util/test_scheduler.c | |||
@@ -116,8 +116,8 @@ task5 (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
116 | (*ok) = 6; | 116 | (*ok) = 6; |
117 | p = GNUNET_DISK_pipe (GNUNET_NO); | 117 | p = GNUNET_DISK_pipe (GNUNET_NO); |
118 | GNUNET_assert (NULL != p); | 118 | GNUNET_assert (NULL != p); |
119 | fds[0] = GNUNET_DISK_pipe_handle (p, 0); | 119 | fds[0] = GNUNET_DISK_pipe_handle (p, GNUNET_DISK_PIPE_END_READ); |
120 | fds[1] = GNUNET_DISK_pipe_handle (p, 1); | 120 | fds[1] = GNUNET_DISK_pipe_handle (p, GNUNET_DISK_PIPE_END_WRITE); |
121 | GNUNET_SCHEDULER_add_read_file (tc->sched, | 121 | GNUNET_SCHEDULER_add_read_file (tc->sched, |
122 | GNUNET_NO, | 122 | GNUNET_NO, |
123 | GNUNET_SCHEDULER_PRIORITY_DEFAULT, | 123 | GNUNET_SCHEDULER_PRIORITY_DEFAULT, |