diff options
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 74b5712ba..1a7f10e89 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -6516,6 +6516,10 @@ dht_get_string_accept_handler (void *cls, struct GNUNET_TIME_Absolute exp, | |||
6516 | 6516 | ||
6517 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Got regex results from DHT!\n"); | 6517 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Got regex results from DHT!\n"); |
6518 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " for %s\n", info->description); | 6518 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " for %s\n", info->description); |
6519 | GNUNET_STATISTICS_update (stats, "# regex accepting blocks found", | ||
6520 | 1, GNUNET_NO); | ||
6521 | GNUNET_STATISTICS_update (stats, "# regex accepting block bytes found", | ||
6522 | size, GNUNET_NO); | ||
6519 | 6523 | ||
6520 | peer_info = peer_info_get(&block->id); | 6524 | peer_info = peer_info_get(&block->id); |
6521 | // p = path_build_from_dht (get_path, get_path_length, put_path, | 6525 | // p = path_build_from_dht (get_path, get_path_length, put_path, |
@@ -6584,7 +6588,6 @@ dht_get_string_handler (void *cls, struct GNUNET_TIME_Absolute exp, | |||
6584 | 1, GNUNET_NO); | 6588 | 1, GNUNET_NO); |
6585 | GNUNET_STATISTICS_update (stats, "# regex block bytes found", | 6589 | GNUNET_STATISTICS_update (stats, "# regex block bytes found", |
6586 | size, GNUNET_NO); | 6590 | size, GNUNET_NO); |
6587 | |||
6588 | 6591 | ||
6589 | copy = GNUNET_malloc (size); | 6592 | copy = GNUNET_malloc (size); |
6590 | memcpy (copy, data, size); | 6593 | memcpy (copy, data, size); |