Merge pull request #68 from FreifunkBremen/gluon-cron-fix
gluon-cron: Fix endless loop parsing invalid lines
This commit is contained in:
commit
9d11f4bda1
@ -94,7 +94,7 @@ static uint64_t parse_strings(const char *input, const char *const *strings, siz
|
||||
return 0;
|
||||
}
|
||||
|
||||
static uint64_t parse_times(char *input, unsigned min, unsigned n) {
|
||||
static uint64_t parse_times(char *input, int min, int n) {
|
||||
uint64_t ret = 0;
|
||||
int step = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user