staticlibs / ccronexpr

Cron expression parsing in ANSI C
Apache License 2.0
150 stars 78 forks source link

Initialize passed cron_expr to zero #23

Closed vnd closed 5 years ago

vnd commented 5 years ago

Before this commit, if it wasn't initialized, cron_parse_expr() returned mostly wrong results (and also tests failed). So it should be either made clear in header file that passed parameter must be initialized, or done inside cron_parse_expr().

staticlibs commented 5 years ago

Thanks! Merged. Will add one more check for target.