Fixed parsing of the config index.

This commit is contained in:
bubnikv 2018-04-11 15:17:41 +02:00
parent da2878958b
commit aaa8f133c0
5 changed files with 74 additions and 29 deletions

View file

@ -200,7 +200,7 @@ semver_parse_version (const char *str, semver_t *ver) {
slice = next + 1;
}
return 0;
return (index == 3) ? 0 : -1;
}
static int