exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 523917276fa1e4fbb32cb07248997f531477d4a3
parent ec479de4b9aae3f1d29c541bd185bd9ab4076d23
Author: Fournier Nicolas <nicolas.fournier@ensta-paristech.fr>
Date:   Mon,  6 Jul 2015 11:32:40 +0200

Fix ftbfs

Diffstat:
Msrc/mintdb/perf_taler_mintdb_interpreter.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mintdb/perf_taler_mintdb_interpreter.c b/src/mintdb/perf_taler_mintdb_interpreter.c @@ -382,7 +382,7 @@ interpret_load_array (struct PERF_TALER_MINTDB_interpreter_state *state) * Get a random element from a #PERF_TALER_MINTDB_CMD_SAVE_ARRAY and exposes it */ static void -interpret_load_random (struct PERF_TALER_MINTDB_interpreter_state *state) +interprete_load_random (struct PERF_TALER_MINTDB_interpreter_state *state) { unsigned int index; int save_index; @@ -392,8 +392,8 @@ interpret_load_random (struct PERF_TALER_MINTDB_interpreter_state *state) state->cmd[state->i].details.load_random.label_save))); index = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, state->cmd[save_index].details.save_array.nb_saved); - state->cmd[state->i].exposed = - data_copy (state->cmd[save_index].details.data_saved[index]); + data_copy (&state->cmd[save_index].details.save_array.data_saved[index], + &state->cmd[state->i].exposed); } /** @@ -480,7 +480,7 @@ interpret (struct PERF_TALER_MINTDB_interpreter_state *state) break; case PERF_TALER_MINTDB_CMD_LOAD_RANDOM: - interprete_load_random(state); + interprete_load_random (state); break; case PERF_TALER_MINTDB_CMD_INSERT_DEPOSIT: