aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-01-21 16:27:24 +0000
committerBart Polot <bart@net.in.tum.de>2013-01-21 16:27:24 +0000
commit59409322ebff8bacfec06f110ac13e76e73e9ae3 (patch)
treea4e1cbcba0c980c7d9a55f88a410c8f8e417f869 /src
parent0deafe507ae43defb9caada9638e12d3b3b21048 (diff)
downloadgnunet-59409322ebff8bacfec06f110ac13e76e73e9ae3.tar.gz
gnunet-59409322ebff8bacfec06f110ac13e76e73e9ae3.zip
- move code to regex_dht
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-service-mesh.c8
1 files changed, 0 insertions, 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,
7195{ 7195{
7196 struct GNUNET_MESH_ConnectPeerByString *msg; 7196 struct GNUNET_MESH_ConnectPeerByString *msg;
7197 struct MeshRegexSearchInfo *info; 7197 struct MeshRegexSearchInfo *info;
7198 struct GNUNET_HashCode key;
7199 struct MeshTunnel *t; 7198 struct MeshTunnel *t;
7200 struct MeshClient *c; 7199 struct MeshClient *c;
7201 MESH_TunnelNumber tid; 7200 MESH_TunnelNumber tid;
@@ -7261,13 +7260,6 @@ handle_local_connect_by_string (void *cls, struct GNUNET_SERVER_Client *client,
7261 len = size - sizeof(struct GNUNET_MESH_ConnectPeerByString); 7260 len = size - sizeof(struct GNUNET_MESH_ConnectPeerByString);
7262 string = (const char *) &msg[1]; 7261 string = (const char *) &msg[1];
7263 7262
7264 /* Initialize context */
7265 size = GNUNET_REGEX_get_first_key (string, len, &key);
7266 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
7267 " consumed %u bits out of %u\n", size, len);
7268 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
7269 " looking for %s\n", GNUNET_h2s (&key));
7270
7271 info = GNUNET_malloc (sizeof (struct MeshRegexSearchInfo)); 7263 info = GNUNET_malloc (sizeof (struct MeshRegexSearchInfo));
7272 info->t = t; 7264 info->t = t;
7273 info->description = GNUNET_strndup (string, len); 7265 info->description = GNUNET_strndup (string, len);