diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-09-17 12:16:11 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-09-17 12:16:11 +0000 |
commit | 31a9f6b88363ed234a01dd521e7bd1342071b486 (patch) | |
tree | c974c4fda8b8bc5b287f721957994d87d62342a3 /src | |
parent | 7ccdb740a883ba3ae0f55e28aa5c8cd6d9767a70 (diff) | |
download | gnunet-31a9f6b88363ed234a01dd521e7bd1342071b486.tar.gz gnunet-31a9f6b88363ed234a01dd521e7bd1342071b486.zip |
- return void
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 8 |
1 files 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, | |||
1325 | * | 1325 | * |
1326 | * @return GNUNET_YES if should keep iterating, GNUNET_NO otherwise. | 1326 | * @return GNUNET_YES if should keep iterating, GNUNET_NO otherwise. |
1327 | */ | 1327 | */ |
1328 | static int | 1328 | static void |
1329 | regex_next_edge (const struct MeshRegexBlock *block, | 1329 | regex_next_edge (const struct MeshRegexBlock *block, |
1330 | size_t size, | 1330 | size_t size, |
1331 | struct MeshRegexSearchContext *ctx) | 1331 | struct MeshRegexSearchContext *ctx) |
@@ -1350,7 +1350,7 @@ regex_next_edge (const struct MeshRegexBlock *block, | |||
1350 | &ctx->hash, | 1350 | &ctx->hash, |
1351 | ®ex_result_iterator, | 1351 | ®ex_result_iterator, |
1352 | new_ctx); | 1352 | new_ctx); |
1353 | return GNUNET_YES; // We are already looking for it | 1353 | return; // We are already looking for it |
1354 | } | 1354 | } |
1355 | /* Start search in DHT */ | 1355 | /* Start search in DHT */ |
1356 | get_h = | 1356 | get_h = |
@@ -1369,10 +1369,10 @@ regex_next_edge (const struct MeshRegexBlock *block, | |||
1369 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST)) | 1369 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_FAST)) |
1370 | { | 1370 | { |
1371 | GNUNET_break (0); | 1371 | GNUNET_break (0); |
1372 | return GNUNET_YES; | 1372 | return; |
1373 | } | 1373 | } |
1374 | 1374 | ||
1375 | return GNUNET_YES; | 1375 | return; |
1376 | } | 1376 | } |
1377 | 1377 | ||
1378 | 1378 | ||