Check that you are not present in trail twice
[oweals/gnunet.git] / src / core / test_core_api.c
index af2b98e4189075a6d5db01e34e4239301d9ac30b..c570def84b9b2ea851be67f8dc94bdfeb1b9ce19 100644 (file)
@@ -174,7 +174,8 @@ connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer)
                 "Asking core (1) for transmission to peer `%4s'\n",
                 GNUNET_i2s (&p2.id));
     if (NULL ==
-        GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_YES, 0,
+        GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_YES,
+                                           GNUNET_CORE_PRIO_BEST_EFFORT,
                                            GNUNET_TIME_relative_multiply
                                            (GNUNET_TIME_UNIT_SECONDS, 145),
                                            &p2.id,
@@ -300,7 +301,7 @@ setup_peer (struct PeerContext *p, const char *cfgname)
   p->cfg = GNUNET_CONFIGURATION_create ();
   p->arm_proc =
     GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
-                            NULL, NULL,
+                            NULL, NULL, NULL,
                             binary,
                             "gnunet-service-arm",
                                "-c", cfgname, NULL);