From: Bart Polot Date: Mon, 21 Jan 2013 16:27:24 +0000 (+0000) Subject: - move code to regex_dht X-Git-Tag: initial-import-from-subversion-38251~10140 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=59409322ebff8bacfec06f110ac13e76e73e9ae3;p=oweals%2Fgnunet.git - move code to regex_dht --- 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);