Code

src/configfile.c: Fix the default interval setting.
authorFlorian Forster <octo@collectd.org>
Tue, 9 Sep 2014 21:43:11 +0000 (23:43 +0200)
committerFlorian Forster <octo@collectd.org>
Wed, 10 Sep 2014 05:46:16 +0000 (07:46 +0200)
commit3281172053c295f958c5e2fa6e8a4ffa3b8d0565
tree1a0e3a3f8cb0b2bf7547ee0b202510f54356d0a6
parentecd14a913df7d36335c59a0c56348517ed2c6a3a
src/configfile.c: Fix the default interval setting.

Also fixes a bug in global_option_get_time(): Values smaller than or
equal to zero are illegal and the default value should be returned.
Thanks to @anandkarthik for spotting this!

Fixes: #727
src/configfile.c