diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-06 17:36:10 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-06 17:36:10 +0100 |
commit | 7ba2ee09667056d90ae564409df453a9867359d8 (patch) | |
tree | 7bdf7b4c57a62156e672baba23ab1ec190c07f01 /src/exchange-lib/exchange_api_wire.c | |
parent | 92345d05e2717eac5729dc6233bc34244d6f3b41 (diff) | |
download | exchange-7ba2ee09667056d90ae564409df453a9867359d8.tar.xz |
test more of /wire, fix off-by-one
Diffstat (limited to 'src/exchange-lib/exchange_api_wire.c')
-rw-r--r-- | src/exchange-lib/exchange_api_wire.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange-lib/exchange_api_wire.c b/src/exchange-lib/exchange_api_wire.c index ae37741ff..bdf4dc878 100644 --- a/src/exchange-lib/exchange_api_wire.c +++ b/src/exchange-lib/exchange_api_wire.c @@ -444,7 +444,7 @@ TALER_EXCHANGE_wire_get_fees (const struct TALER_MasterPublicKeyP *master_pub, return GNUNET_SYSERR; } } - af[num_fees].next = NULL; + af[num_fees - 1].next = NULL; if (NULL != cb) cb (cb_cls, wire_method, |