diff -r f2ece471fb07 -r e2d0c0c23b39 src/modules/logwatch_source.c --- a/src/modules/logwatch_source.c Sun Apr 12 17:18:06 2009 +0300 +++ b/src/modules/logwatch_source.c Sun Apr 12 17:42:34 2009 +0300 @@ -15,11 +15,9 @@ void logwatch_source_on_error (struct error_info *err, void *arg) { struct logwatch_source *source = arg; - - (void) source; - // XXX: complain more loudly - log_error("%s", error_msg(err)); + // notify + logwatch_on_error(source->ctx, source, err); // drop it logwatch_source_destroy(source); @@ -46,7 +44,7 @@ /** * Initialize with the given sock */ -err_t logwatch_source_init (struct logwatch_source *source, struct logwatch *ctx, const char *name, struct sock_stream *stream, struct error_info *err) +static err_t logwatch_source_init (struct logwatch_source *source, struct logwatch *ctx, const char *name, struct sock_stream *stream, struct error_info *err) { // duplicate name? if (logwatch_source_lookup(ctx, name))