clean up for configs
[oweals/gnunet.git] / src / mesh / gnunet-mesh.c
index 226440537bc474d00230d82dc9c0e1e49e9b2fea..fa19a09e951a448bef6c21d9da19be94e952aa60 100644 (file)
@@ -206,6 +206,7 @@ listen_stdio (void)
                                GNUNET_TIME_UNIT_FOREVER_REL,
                                rs, NULL,
                                &read_stdio, NULL);
+  GNUNET_NETWORK_fdset_destroy (rs);
 }
 
 
@@ -254,7 +255,7 @@ static void *
 channel_incoming (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)
 {
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Incoming channel %p on port %u\n",