From b654a3debf5c7cba642756bc7f78a281240dea62 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 17 Jan 2020 15:08:58 +0100 Subject: properly pass closure --- src/lib/testing_api_helpers_auditor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3