From 31a9f6b88363ed234a01dd521e7bd1342071b486 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Mon, 17 Sep 2012 12:16:11 +0000 Subject: [PATCH] - return void --- src/mesh/gnunet-service-mesh.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 867a16c70..f6e26ceb1 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -1325,7 +1325,7 @@ regex_edge_iterator (void *cls, * * @return GNUNET_YES if should keep iterating, GNUNET_NO otherwise. */ -static int +static void regex_next_edge (const struct MeshRegexBlock *block, size_t size, struct MeshRegexSearchContext *ctx) @@ -1350,7 +1350,7 @@ regex_next_edge (const struct MeshRegexBlock *block, &ctx->hash, ®ex_result_iterator, new_ctx); - return GNUNET_YES; // We are already looking for it + return; // We are already looking for it } /* Start search in DHT */ get_h = @@ -1369,10 +1369,10 @@ regex_next_edge (const struct MeshRegexBlock *block, GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST)) { GNUNET_break (0); - return GNUNET_YES; + return; } - return GNUNET_YES; + return; } -- 2.25.1