clean up for configs
[oweals/gnunet.git] / src / mesh / test_mesh_local.c
index 35a16b0d9de2f46f6743b7758b6b8712f38a5e7d..932f01a2ef4d4198b861923da74f93582403da3c 100644 (file)
@@ -148,7 +148,7 @@ data_callback (void *cls, struct GNUNET_MESH_Channel *channel,
 static void *
 inbound_channel (void *cls, struct GNUNET_MESH_Channel *channel,
                 const struct GNUNET_PeerIdentity *initiator,
-                uint32_t port, enum MeshOption options)
+                uint32_t port, enum GNUNET_MESH_ChannelOption options)
 {
   long id = (long) cls;
 
@@ -285,8 +285,8 @@ run (void *cls,
                                     (GNUNET_TIME_UNIT_SECONDS, 15), &do_abort,
                                     NULL);
   mesh_peer_1 = GNUNET_MESH_connect (cfg,       /* configuration */
-                                     (void *) 1L,     /* cls */
-                                     &inbound_channel,   /* inbound new hndlr */
+                                     (void *) 1L,       /* cls */
+                                     NULL,              /* inbound new hndlr */
                                      &channel_end,      /* channel end hndlr */
                                      handlers1, /* traffic handlers */
                                      NULL);     /* ports offered */