improve version number format check
This commit is contained in:
parent
d1c5337a88
commit
71f00b3764
@ -728,7 +728,7 @@ decode_keys_json (const json_t *resp_obj,
|
|||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
if (3 != sscanf (ver,
|
if (3 != sscanf (ver,
|
||||||
"%u:%u:%u",
|
"%u:%u:%u%c",
|
||||||
¤t,
|
¤t,
|
||||||
&revision,
|
&revision,
|
||||||
&age,
|
&age,
|
||||||
|
Loading…
Reference in New Issue
Block a user