From 8f0a4b6095fd05e101fc5389cc46ec211083979a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 15 Jul 2020 21:22:44 +0200 Subject: fix #6133: enable nice shutdown of auditor helpers with CTRL-C --- src/auditordb/plugin_auditordb_postgres.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/auditordb') diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c index 4f9101fdc..e10df29d4 100644 --- a/src/auditordb/plugin_auditordb_postgres.c +++ b/src/auditordb/plugin_auditordb_postgres.c @@ -1236,9 +1236,11 @@ deposit_confirmation_cb (void *cls, return; } dcc->qs = i + 1; - dcc->cb (dcc->cb_cls, - serial_id, - &dc); + if (GNUNET_OK != + dcc->cb (dcc->cb_cls, + serial_id, + &dc)) + break; } } -- cgit v1.2.3