aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaximilian Szengel <gnunet@maxsz.de>2012-10-23 17:07:57 +0000
committerMaximilian Szengel <gnunet@maxsz.de>2012-10-23 17:07:57 +0000
commit10a42527a58214fbcae27659b6983d6572edfa15 (patch)
tree4f5043cc4da0ff5493200be7e3f60757861fafe4 /src
parent1dd315ba7b874ceb1f4b691f23a8b11a42c23710 (diff)
downloadgnunet-10a42527a58214fbcae27659b6983d6572edfa15.tar.gz
gnunet-10a42527a58214fbcae27659b6983d6572edfa15.zip
added libgnunetstatistics to regex profiler dependencies
Diffstat (limited to 'src')
-rw-r--r--src/mesh/Makefile.am3
-rw-r--r--src/mesh/gnunet-regex-profiler.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mesh/Makefile.am b/src/mesh/Makefile.am
index d4d137f45..2830066e1 100644
--- a/src/mesh/Makefile.am
+++ b/src/mesh/Makefile.am
@@ -95,7 +95,8 @@ gnunet_regex_profiler_LDADD = \
95 $(top_builddir)/src/util/libgnunetutil.la \ 95 $(top_builddir)/src/util/libgnunetutil.la \
96 $(top_builddir)/src/testbed/libgnunettestbed.la \ 96 $(top_builddir)/src/testbed/libgnunettestbed.la \
97 $(top_builddir)/src/mesh/libgnunetmesh.la \ 97 $(top_builddir)/src/mesh/libgnunetmesh.la \
98 $(top_builddir)/src/regex/libgnunetregex.la 98 $(top_builddir)/src/regex/libgnunetregex.la \
99 $(top_builddir)/src/regex/libgnunetstatistics.la
99gnunet_regex_profiler_DEPENDENCIES = \ 100gnunet_regex_profiler_DEPENDENCIES = \
100 libgnunetmesh.la 101 libgnunetmesh.la
101 102
diff --git a/src/mesh/gnunet-regex-profiler.c b/src/mesh/gnunet-regex-profiler.c
index 47899516e..498a81646 100644
--- a/src/mesh/gnunet-regex-profiler.c
+++ b/src/mesh/gnunet-regex-profiler.c
@@ -633,7 +633,7 @@ mesh_peer_connect_handler (void *cls,
633 peer->search_str, peer->id, peers_found, num_search_strings); 633 peer->search_str, peer->id, peers_found, num_search_strings);
634 634
635 if (NULL == GNUNET_STATISTICS_get (peer->stats_handle, "mesh", NULL, 635 if (NULL == GNUNET_STATISTICS_get (peer->stats_handle, "mesh", NULL,
636 GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 3), 636 GNUNET_TIME_UNIT_FOREVER_REL,
637 &stats_cb, 637 &stats_cb,
638 &stats_iterator, peer)) 638 &stats_iterator, peer))
639 { 639 {