Skip to content

Commit

Permalink
Refactor pretty printer of schedules.
Browse files Browse the repository at this point in the history
Seems the pretty printer had some problems with printing some schedules,
Given that this is almost a programming language this is not to
surprising. Changed the code to first determine if all bits are set so
we don't do hard work of finding intervals if we are not going to print
the interval at all.

Fixes #407: print_config_run() doesn't print months
Fixes #409: Console Shows Incorrect Schedule

Conflicts:
	src/dird/dird_conf.c
  • Loading branch information
Marco van Wieringen committed Feb 17, 2015
1 parent b14a59f commit 5a7b875
Showing 1 changed file with 219 additions and 97 deletions.

0 comments on commit 5a7b875

Please sign in to comment.