Merge pull request #68 from FreifunkBremen/gluon-cron-fix

gluon-cron: Fix endless loop parsing invalid lines
This commit is contained in:
NeoRaider 2014-08-27 10:33:34 +02:00
commit 9d11f4bda1

View File

@ -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;