diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-11-13 18:53:39 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-11-13 18:53:39 +0000 |
commit | 9c1c6c4a5bd46d63bc97e71a503266943d82f828 (patch) | |
tree | 0a5f2ca0707debbbb6f258bbe22c856da24ef181 /src | |
parent | eb2def8dfd5a4042785a5e3540fb369760f2b9a3 (diff) | |
download | gnunet-9c1c6c4a5bd46d63bc97e71a503266943d82f828.tar.gz gnunet-9c1c6c4a5bd46d63bc97e71a503266943d82f828.zip |
- more mesh regex stats
Diffstat (limited to 'src')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 81e2523fe..b752784ad 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -6580,6 +6580,12 @@ dht_get_string_handler (void *cls, struct GNUNET_TIME_Absolute exp, | |||
6580 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 6580 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
6581 | " key: %s\n", GNUNET_h2s (key)); | 6581 | " key: %s\n", GNUNET_h2s (key)); |
6582 | 6582 | ||
6583 | GNUNET_STATISTICS_update (stats, "# regex blocks found", | ||
6584 | 1, GNUNET_NO); | ||
6585 | GNUNET_STATISTICS_update (stats, "# regex block bytes found", | ||
6586 | size, GNUNET_NO); | ||
6587 | |||
6588 | |||
6583 | copy = GNUNET_malloc (size); | 6589 | copy = GNUNET_malloc (size); |
6584 | memcpy (copy, data, size); | 6590 | memcpy (copy, data, size); |
6585 | GNUNET_break (GNUNET_OK == | 6591 | GNUNET_break (GNUNET_OK == |