summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-03-13 23:03:06 +0100
committerChristian Grothoff <christian@grothoff.org>2021-03-13 23:03:06 +0100
commit71f00b37648a7237ad7efebd1b3145512f21c02a (patch)
tree43f9a815a16c2a5ecdcf2a9843cf5e4ce453e8ca /src/lib
parentd1c5337a886128d484d647a4a66da91c3d52f60c (diff)
downloadexchange-71f00b37648a7237ad7efebd1b3145512f21c02a.tar.gz
exchange-71f00b37648a7237ad7efebd1b3145512f21c02a.tar.bz2
exchange-71f00b37648a7237ad7efebd1b3145512f21c02a.zip
improve version number format check
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c
index 15fb29aa..a6e6e9a4 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",
&current,
&revision,
&age,