gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: fix #6190


From: gnunet
Subject: [taler-exchange] branch master updated: fix #6190
Date: Tue, 21 Apr 2020 13:48:54 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new a5460cc8 fix #6190
a5460cc8 is described below

commit a5460cc84d5303d33bd087873a96462f93312f37
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Apr 21 13:48:49 2020 +0200

    fix #6190
---
 src/lib/exchange_api_handle.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index 86edc070..c3ae1663 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -1014,13 +1014,10 @@ decode_keys_json (const json_t *resp_obj,
             aix->num_denom_keys,
             ai.num_denom_keys);
 
-          GNUNET_array_grow (aix->denom_keys,
-                             aix->num_denom_keys,
-                             aix->num_denom_keys + ai.num_denom_keys);
-          memcpy (&aix->denom_keys[aix->num_denom_keys - ai.num_denom_keys],
-                  ai.denom_keys,
-                  ai.num_denom_keys * sizeof (struct
-                                              
TALER_EXCHANGE_AuditorDenominationInfo));
+          GNUNET_array_concatenate (aix->denom_keys,
+                                    aix->num_denom_keys,
+                                    ai.denom_keys,
+                                    ai.num_denom_keys);
           break;
         }
       }

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]