[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23884 - gnunet/src/mesh
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23884 - gnunet/src/mesh |
Date: |
Tue, 18 Sep 2012 15:22:30 +0200 |
Author: bartpolot
Date: 2012-09-18 15:22:30 +0200 (Tue, 18 Sep 2012)
New Revision: 23884
Modified:
gnunet/src/mesh/gnunet-service-mesh.c
Log:
- log errors only when they are errors
Modified: gnunet/src/mesh/gnunet-service-mesh.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh.c 2012-09-18 12:41:30 UTC (rev
23883)
+++ gnunet/src/mesh/gnunet-service-mesh.c 2012-09-18 13:22:30 UTC (rev
23884)
@@ -1335,11 +1335,13 @@
struct MeshRegexSearchInfo *info = ctx->info;
struct GNUNET_DHT_GetHandle *get_h;
+ int result;
+
/* Find the longest match for the current string position,
* among tokens in the given block */
- GNUNET_break (GNUNET_OK ==
- GNUNET_MESH_regex_block_iterate (block, size,
- ®ex_edge_iterator, ctx));
+ result = GNUNET_MESH_regex_block_iterate (block, size,
+ ®ex_edge_iterator, ctx);
+ GNUNET_break (GNUNET_OK == result || SIZE_MAX == size);
new_ctx = GNUNET_malloc (sizeof (struct MeshRegexSearchContext));
new_ctx->info = info;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23884 - gnunet/src/mesh,
gnunet <=