gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: improve version number format ch


From: gnunet
Subject: [taler-exchange] branch master updated: improve version number format check
Date: Sat, 13 Mar 2021 23:02:49 +0100

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 d1c5337a improve version number format check
d1c5337a is described below

commit d1c5337a886128d484d647a4a66da91c3d52f60c
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Mar 13 23:02:46 2021 +0100

    improve version number format check
---
 contrib/gana                  | 2 +-
 src/lib/exchange_api_handle.c | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/contrib/gana b/contrib/gana
index 80b3182d..880352a4 160000
--- a/contrib/gana
+++ b/contrib/gana
@@ -1 +1 @@
-Subproject commit 80b3182db5a5b13a765b2ab8846cb1d0f3281990
+Subproject commit 880352a419beee4864f863182dbc695c859ee3f7
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index 405b4641..15fb29aa 100644
--- a/src/lib/exchange_api_handle.c
+++ b/src/lib/exchange_api_handle.c
@@ -712,6 +712,7 @@ decode_keys_json (const json_t *resp_obj,
     unsigned int age;
     unsigned int revision;
     unsigned int current;
+    char dummy;
     struct GNUNET_JSON_Specification spec[] = {
       GNUNET_JSON_spec_string ("version",
                                &ver),
@@ -730,7 +731,8 @@ decode_keys_json (const json_t *resp_obj,
                      "%u:%u:%u",
                      &current,
                      &revision,
-                     &age))
+                     &age,
+                     &dummy))
     {
       GNUNET_break_op (0);
       return GNUNET_SYSERR;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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