void *value)
{
struct DestinationEntry *de = value;
-
+
if (NULL != de->tunnel)
{
GNUNET_MESH_tunnel_destroy (de->tunnel);
de->tunnel = NULL;
}
+ /*
if (NULL != ts->heap_node)
{
GNUNET_CONTAINER_heap_remove_node (ts->heap_node);
ts->heap_node = NULL;
}
+ */
GNUNET_free (de);
return GNUNET_OK;
}
}
if (NULL != ts->client)
{
- GNUNET_SERVER_cliet_drop (ts->client);
+ GNUNET_SERVER_client_drop (ts->client);
ts->client = NULL;
}
if (NULL != ts->th)
const GNUNET_HashCode *key,
void *value)
{
- struct GNUNET_SERVER_Client *client;
+ struct GNUNET_SERVER_Client *client = cls;
struct TunnelState *ts = value;
if (client == ts->client)
{
- GNUNET_SERVER_cliet_drop (ts->client);
+ GNUNET_SERVER_client_drop (ts->client);
ts->client = NULL;
}
return GNUNET_OK;