Code

src/configfile.c: Let errors in included files propagate up to cf_read().
authorFlorian Forster <octo@collectd.org>
Thu, 30 May 2013 06:58:06 +0000 (08:58 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 30 May 2013 06:58:06 +0000 (08:58 +0200)
commit178db08806318e0b01de2e7a9261f18d6f7ca72d
tree7907274a2f42fff3c4e97dcf27002dc033db1ec9
parenta05485da75ec42a9aa38354e0d0364885b1ecad9
src/configfile.c: Let errors in included files propagate up to cf_read().

cf_read_generic() returned NULL in two cases: Unable to read file and
file was empty. Since we wanted to allow empty includes, the "include
file with errors" case was not handled properly.

Github: #323
src/configfile.c