diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-03-13 23:03:06 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-03-13 23:03:06 +0100 |
commit | 71f00b37648a7237ad7efebd1b3145512f21c02a (patch) | |
tree | 43f9a815a16c2a5ecdcf2a9843cf5e4ce453e8ca | |
parent | d1c5337a886128d484d647a4a66da91c3d52f60c (diff) | |
download | exchange-71f00b37648a7237ad7efebd1b3145512f21c02a.tar.xz |
improve version number format check
-rw-r--r-- | src/lib/exchange_api_handle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c index 15fb29aa7..a6e6e9a4d 100644 --- a/src/lib/exchange_api_handle.c +++ b/src/lib/exchange_api_handle.c @@ -728,7 +728,7 @@ decode_keys_json (const json_t *resp_obj, return GNUNET_SYSERR; } if (3 != sscanf (ver, - "%u:%u:%u", + "%u:%u:%u%c", ¤t, &revision, &age, |