fix
[oweals/gnunet.git] / src / core / test_core_api_reliability.c
index e8e1ad0f60feeb9d7d54dda63a0a7572f42c666b..f981f105a0adde8a4bd64db6103b68fe4bc63fc6 100644 (file)
@@ -44,7 +44,7 @@
  * 'MAX_PENDING' in 'gnunet-service-transport.c', otherwise
  * messages may be dropped even for a reliable transport.
  */
-#define TOTAL_MSGS (600 * 200)
+#define TOTAL_MSGS (600 * 10)
 
 /**
  * How long until we give up on transmitting the message?
@@ -444,7 +444,7 @@ setup_peer (struct PeerContext *p, const char *cfgname)
                                         "-c", cfgname, NULL);
 #endif
   GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname));
-  p->th = GNUNET_TRANSPORT_connect (sched, p->cfg, p, NULL, NULL, NULL);
+  p->th = GNUNET_TRANSPORT_connect (sched, p->cfg, NULL, p, NULL, NULL, NULL);
   GNUNET_assert (p->th != NULL);
   GNUNET_TRANSPORT_get_hello (p->th, &process_hello, p);
 }