From 59409322ebff8bacfec06f110ac13e76e73e9ae3 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 21 Jan 2013 16:27:24 +0000 Subject: [PATCH] - move code to regex_dht --- src/mesh/gnunet-service-mesh.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 208c326a5..f5d323a35 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -7195,7 +7195,6 @@ handle_local_connect_by_string (void *cls, struct GNUNET_SERVER_Client *client, { struct GNUNET_MESH_ConnectPeerByString *msg; struct MeshRegexSearchInfo *info; - struct GNUNET_HashCode key; struct MeshTunnel *t; struct MeshClient *c; MESH_TunnelNumber tid; @@ -7261,13 +7260,6 @@ handle_local_connect_by_string (void *cls, struct GNUNET_SERVER_Client *client, len = size - sizeof(struct GNUNET_MESH_ConnectPeerByString); string = (const char *) &msg[1]; - /* Initialize context */ - size = GNUNET_REGEX_get_first_key (string, len, &key); - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - " consumed %u bits out of %u\n", size, len); - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - " looking for %s\n", GNUNET_h2s (&key)); - info = GNUNET_malloc (sizeof (struct MeshRegexSearchInfo)); info->t = t; info->description = GNUNET_strndup (string, len); -- 2.25.1