Commit Graph

2 Commits

Author SHA1 Message Date
Stefan Knoblich
41abb3e644 mod_blacklist: Resource leak fixes, config checks and add help output for api interface
Don't leak the file handle after parsing the configuration
Don't leak memory if the file could not be opened

Check list name and filename attribute of configuration entry.

Add "blacklist help" and error messages to api interface.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-09-21 15:50:57 +02:00
Stefan Knoblich
d00f74640f mod_blacklist: Add example configuration file
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-09-21 15:10:37 +02:00