Index: ossp-pkg/l2/l2.h RCS File: /v/ossp/cvs/ossp-pkg/l2/Attic/l2.h,v rcsdiff -q -kk '-r1.6' '-r1.7' -u '/v/ossp/cvs/ossp-pkg/l2/Attic/l2.h,v' 2>/dev/null --- l2.h 2001/05/26 08:02:55 1.6 +++ l2.h 2001/05/26 08:04:12 1.7 @@ -168,8 +168,8 @@ l2_stream_t *l2_stream_channel (l2_stream_t *st, l2_channel_t *ch, unsigned int levelmask); l2_stream_t *l2_stream_formatter (l2_stream_t *st, l2_formatter_t *cb, l2_context_t *ctx); unsigned int l2_stream_levels (l2_stream_t *st, unsigned int levelmask); -void l2_stream_log (l2_stream_t *st, unsigned int log_level, const char* fmt, ...); -void l2_stream_vlog (l2_stream_t *st, unsigned int log_level, const char* fmt, va_list ap); +void l2_stream_log (l2_stream_t *st, unsigned int log_level, const char *fmt, ...); +void l2_stream_vlog (l2_stream_t *st, unsigned int log_level, const char *fmt, va_list ap); void l2_stream_destroy (l2_stream_t *st); #endif /* __L2_H__ */ Index: ossp-pkg/l2/l2_ch_syslog.c RCS File: /v/ossp/cvs/ossp-pkg/l2/l2_ch_syslog.c,v rcsdiff -q -kk '-r1.4' '-r1.5' -u '/v/ossp/cvs/ossp-pkg/l2/l2_ch_syslog.c,v' 2>/dev/null --- l2_ch_syslog.c 2001/05/26 08:02:55 1.4 +++ l2_ch_syslog.c 2001/05/26 08:04:12 1.5 @@ -49,10 +49,9 @@ static int hook_write(l2_context_t *ctx, l2_channel_t *downstream, const char *buf, size_t buf_size) - { - syslog(LOG_INFO, buf); +{ return L2_OK; - } +} static int hook_flush(l2_context_t *ctx, l2_channel_t *downstream) {