aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2020-01-17 15:08:58 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2020-01-17 15:09:12 +0100
commitb654a3debf5c7cba642756bc7f78a281240dea62 (patch)
tree937ee06bc9842ffa2879129d2c95ca198c19f159
parent84f3b9b2872264bfba2027c720116f6c7de7ae4a (diff)
properly pass closure
-rw-r--r--src/lib/testing_api_helpers_auditor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/testing_api_helpers_auditor.c b/src/lib/testing_api_helpers_auditor.c
index cf15131da..a9b09dd0f 100644
--- a/src/lib/testing_api_helpers_auditor.c
+++ b/src/lib/testing_api_helpers_auditor.c
@@ -165,7 +165,7 @@ auditor_main_wrapper (void *cls,
cc = GNUNET_new (struct CleanupContext);
cc->is = is;
cc->fcb = is->final_cleanup_cb;
- cc->fcb_cls = is->final_cleanup_cb;
+ cc->fcb_cls = is->final_cleanup_cb_cls;
is->final_cleanup_cb = cleanup_auditor;
is->final_cleanup_cb_cls = cc;
mwc->main_cb (mwc->main_cb_cls,