mirror of https://github.com/yandex/odyssey.git
Fix percentile read (#122)
This commit is contained in:
parent
b2d75b0b3c
commit
785a434acb
|
@ -327,9 +327,11 @@ od_config_reader_quantiles(od_config_reader_t *reader, char *value, double **qua
|
|||
return false;
|
||||
}
|
||||
*count += 1;
|
||||
while (*c != ',') {
|
||||
while (*c != '\0' && *c != ',') {
|
||||
c++;
|
||||
}
|
||||
if (*c == '\0')
|
||||
break;
|
||||
c++;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue