diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-06-18 15:13:13 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-06-19 00:17:15 +0200 |
commit | d2c7ef54a7eb906b40032969b5bc45c180003f4b (patch) | |
tree | 78192ff99f013e7d926c5f2acd0601c68f5bc485 /src/exchangedb/perf_taler_exchangedb_interpreter.c | |
parent | d66a29e383d1a6985906136c9606fcd18cb1c124 (diff) |
convert another function for #5010
Diffstat (limited to 'src/exchangedb/perf_taler_exchangedb_interpreter.c')
-rw-r--r-- | src/exchangedb/perf_taler_exchangedb_interpreter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchangedb/perf_taler_exchangedb_interpreter.c b/src/exchangedb/perf_taler_exchangedb_interpreter.c index 2e4307547..e378fc932 100644 --- a/src/exchangedb/perf_taler_exchangedb_interpreter.c +++ b/src/exchangedb/perf_taler_exchangedb_interpreter.c @@ -1334,15 +1334,15 @@ interpret (struct PERF_TALER_EXCHANGEDB_interpreter_state *state) case PERF_TALER_EXCHANGEDB_CMD_INSERT_DEPOSIT: { int deposit_index; - int ret; + enum GNUNET_DB_QueryStatus qs; struct TALER_EXCHANGEDB_Deposit *deposit; deposit_index = state->cmd[state->i].details.insert_deposit.index_deposit; deposit = state->cmd[deposit_index].exposed.data.deposit; - ret = state->plugin->insert_deposit (state->plugin->cls, + qs = state->plugin->insert_deposit (state->plugin->cls, state->session, deposit); - GNUNET_assert (GNUNET_SYSERR != ret); + GNUNET_assert (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT == qs); state->cmd[state->i].exposed.data.deposit = deposit; } break; |