From aa563f3e4a6c5fb2a458b12a97dc130002ea3457 Mon Sep 17 00:00:00 2001 From: Fournier Nicolas Date: Tue, 28 Jul 2015 15:52:58 +0200 Subject: [PATCH] fix --- src/mintdb/perf_taler_mintdb_interpreter.c | 2 +- src/mintdb/perf_taler_mintdb_interpreter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mintdb/perf_taler_mintdb_interpreter.c b/src/mintdb/perf_taler_mintdb_interpreter.c index a02c565fe..bc36ad8a7 100644 --- a/src/mintdb/perf_taler_mintdb_interpreter.c +++ b/src/mintdb/perf_taler_mintdb_interpreter.c @@ -309,7 +309,7 @@ cmd_init (struct PERF_TALER_MINTDB_Cmd cmd[]) cmd[i].details.load_array.permutation = GNUNET_CRYPTO_random_permute ( GNUNET_CRYPTO_QUALITY_WEAK, - cmd[cmd[i].details.load_array.index_loop].details.save_array.nb_saved); + cmd[cmd[i].details.load_array.index_save].details.save_array.nb_saved); GNUNET_assert (NULL != cmd[i].details.load_array.permutation); cmd[i].exposed.type = cmd[cmd[i].details.load_array.index_save].details.save_array.data_saved->type; diff --git a/src/mintdb/perf_taler_mintdb_interpreter.h b/src/mintdb/perf_taler_mintdb_interpreter.h index a70acb690..2ece735d9 100644 --- a/src/mintdb/perf_taler_mintdb_interpreter.h +++ b/src/mintdb/perf_taler_mintdb_interpreter.h @@ -997,7 +997,7 @@ union PERF_TALER_MINTDB_CMD_Details /** * Data requiered by the #PERF_TALER_MINTDB_CMD_GET_REFRESH_COMMIT_LINK command */ - struct PERF_TALER_MINTB_CMD_getRefreshCommitLinkDetails + struct PERF_TALER_MINTDB_CMD_getRefreshCommitLinkDetails { /** * The refresh session hash