commit b654a3debf5c7cba642756bc7f78a281240dea62
parent 84f3b9b2872264bfba2027c720116f6c7de7ae4a
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Fri, 17 Jan 2020 15:08:58 +0100
properly pass closure
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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,