diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-04-02 21:12:18 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-04-02 21:12:18 +0200 |
commit | aea82d3dcde94b68a70a65be8736cf7ad437b0c7 (patch) | |
tree | afe52630b7b25f2ca5039183ca5ba616ffd1dff0 /src/exchangedb/test_exchangedb.c | |
parent | 2b0f98dd4b875ed0f7f833c377197265fa11384e (diff) | |
download | exchange-aea82d3dcde94b68a70a65be8736cf7ad437b0c7.tar.xz |
allow auditor to operate per-account
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index a112af248..9191f6007 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -1273,6 +1273,7 @@ test_wire_out (struct TALER_EXCHANGEDB_Session *session, wire_out_date, &wire_out_wtid, wire_out_account, + "my-config-section", &wire_out_amount)) { json_decref (wire_out_account); @@ -2187,7 +2188,8 @@ run (void *cls) result = 0; drop: - if (0 != result) + if ( (0 != result) && + (NULL != session) ) plugin->rollback (plugin->cls, session); if (NULL != rh) |