api work
[oweals/gnunet.git] / src / util / test_scheduler.c
index fe15e987b01c2914c5de54c5fb03871d3a732fe9..855b3a08aa2556d12d115e8080a8375b24ef7aa4 100644 (file)
@@ -114,7 +114,7 @@ task5 (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
   int *ok = cls;
   GNUNET_assert (5 == *ok);
   (*ok) = 6;
-  GNUNET_assert (0 == pipe (fds));
+  GNUNET_assert (0 == PIPE (fds));
   GNUNET_SCHEDULER_add_read (tc->sched,
                              GNUNET_NO,
                              GNUNET_SCHEDULER_PRIORITY_DEFAULT,