fixme
[oweals/gnunet.git] / src / transport / test_plugin_transport.c
index ec1b6b76c87e1f295c839089ea043e70249abce0..b43c534c56483c9079928b6e1794861df8a7c297 100644 (file)
@@ -179,7 +179,6 @@ validation_notification (void *cls,
      here will end the process. */
   ok = 0; /* if the last test succeeded, report success */
   GNUNET_SCHEDULER_add_continuation (sched,
-                                    GNUNET_NO,
                                     &unload_task,
                                     (void*) cfg,
                                     GNUNET_SCHEDULER_REASON_PREREQ_DONE);
@@ -210,6 +209,9 @@ validation_failed (void *cls,
  *  work for other plugins; we should ask
  *  the plugin about its address instead...).
  */
+/* FIXME: won't work on IPv6 enabled systems where IPv4 bridge
+ * mode isn't enabled (eg. FreeBSD > 4)
+ */
 static void
 test_validation ()
 {
@@ -236,9 +238,6 @@ test_validation ()
   /* add job to catch failure (timeout) */
   validation_timeout_task =
     GNUNET_SCHEDULER_add_delayed (sched,
-                                 GNUNET_NO,
-                                 GNUNET_SCHEDULER_PRIORITY_KEEP,
-                                 GNUNET_SCHEDULER_NO_TASK,
                                  TIMEOUT,
                                  &validation_failed,
                                  NULL);