- fixes, eliminate malformed data assert
[oweals/gnunet.git] / src / mesh / test_mesh_local_2.c
index 75e5bf22985d8824947253178c605d8e497a5a18..d4b5e004b36a63c082c9bd07d82453fd97a22286 100644 (file)
@@ -40,7 +40,7 @@ static unsigned int one = 1;
 
 static unsigned int two = 2;
 
-static int result;
+static int result = GNUNET_OK;
 
 static GNUNET_SCHEDULER_TaskIdentifier abort_task;
 
@@ -226,7 +226,6 @@ do_connect_peer_1 (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 
   test_task = GNUNET_SCHEDULER_NO_TASK;
   mesh_peer_1 = GNUNET_MESH_connect (cfg,       /* configuration */
-                                     10,        /* queue size */
                                      (void *) &one,     /* cls */
                                      &inbound_tunnel,   /* inbound new hndlr */
                                      &inbound_end,      /* inbound end hndlr */
@@ -250,7 +249,6 @@ run (void *cls,
                                     (GNUNET_TIME_UNIT_SECONDS, 20), &do_abort,
                                     NULL);
   mesh_peer_2 = GNUNET_MESH_connect (cfg,       /* configuration */
-                                     10,        /* queue size */
                                      (void *) &two,     /* cls */
                                      &inbound_tunnel,   /* inbound new hndlr */
                                      &inbound_end,      /* inbound end hndlr */