summaryrefslogtreecommitdiff
path: root/src/regex
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex')
-rw-r--r--src/regex/gnunet-regex-profiler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regex/gnunet-regex-profiler.c b/src/regex/gnunet-regex-profiler.c
index c4029d2c7..9ecdea7e5 100644
--- a/src/regex/gnunet-regex-profiler.c
+++ b/src/regex/gnunet-regex-profiler.c
@@ -984,6 +984,7 @@ find_string (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
&dht_ca,
&dht_da,
&peers[search_peer]);
+ GNUNET_assert (NULL != peers[search_peer].op_handle);
peers[search_peer].timeout = GNUNET_SCHEDULER_add_delayed (FIND_TIMEOUT,
&find_timeout,
&peers[search_peer]);