aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/schedule.h
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2023-07-09 22:33:55 +0200
committerGravatar Tim Segers <tsegers@pm.me>2023-07-09 22:33:55 +0200
commit53807bdddd7078b335862b8be49fe56d03a59417 (patch)
tree8083bc21b17dc9f8df8c3a20bbdf2e8e76ee729c /src/schedule.h
parent8dae03b00b8a24b690214a79af057b8d0de83cd0 (diff)
downloadopendeco-53807bdddd7078b335862b8be49fe56d03a59417.tar.gz
Change count+malloc to realloc in parse_gasses
Instead of counting the amount of ',' delimiters in the gasses string and then using malloc, realloc on every now token. This prevents a bug when there are consecutive ',' delimiters (in which case nof_gasses and the amount of tokens returned by strtok do not match).
Diffstat (limited to 'src/schedule.h')
0 files changed, 0 insertions, 0 deletions