From 10a42527a58214fbcae27659b6983d6572edfa15 Mon Sep 17 00:00:00 2001 From: Maximilian Szengel Date: Tue, 23 Oct 2012 17:07:57 +0000 Subject: added libgnunetstatistics to regex profiler dependencies --- src/mesh/Makefile.am | 3 ++- src/mesh/gnunet-regex-profiler.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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 = \ $(top_builddir)/src/util/libgnunetutil.la \ $(top_builddir)/src/testbed/libgnunettestbed.la \ $(top_builddir)/src/mesh/libgnunetmesh.la \ - $(top_builddir)/src/regex/libgnunetregex.la + $(top_builddir)/src/regex/libgnunetregex.la \ + $(top_builddir)/src/regex/libgnunetstatistics.la gnunet_regex_profiler_DEPENDENCIES = \ libgnunetmesh.la 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, peer->search_str, peer->id, peers_found, num_search_strings); if (NULL == GNUNET_STATISTICS_get (peer->stats_handle, "mesh", NULL, - GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 3), + GNUNET_TIME_UNIT_FOREVER_REL, &stats_cb, &stats_iterator, peer)) { -- cgit v1.2.3