diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-15 21:22:44 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-15 21:22:44 +0200 |
commit | 8f0a4b6095fd05e101fc5389cc46ec211083979a (patch) | |
tree | c6aa6ef9f8bb7d7d9b573fe313de6b0b3f7be6df /src/auditordb | |
parent | 6cabb25d8d780949459382661fb318c32d76f992 (diff) | |
download | exchange-8f0a4b6095fd05e101fc5389cc46ec211083979a.tar.xz |
fix #6133: enable nice shutdown of auditor helpers with CTRL-C
Diffstat (limited to 'src/auditordb')
-rw-r--r-- | src/auditordb/plugin_auditordb_postgres.c | 8 |
1 files changed, 5 insertions, 3 deletions
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; } } |