OSSP CVS Repository

ossp - Check-in [492]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 492
Date: 2001-May-26 10:04:12 (local)
2001-May-26 08:04:12 (UTC)
User:rse
Branch:
Comment: cleanup style
Tickets:
Inspections:
Files:
ossp-pkg/l2/l2.h      1.6 -> 1.7     2 inserted, 2 deleted
ossp-pkg/l2/l2_ch_syslog.c      1.4 -> 1.5     2 inserted, 3 deleted

ossp-pkg/l2/l2.h 1.6 -> 1.7

--- 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__ */


ossp-pkg/l2/l2_ch_syslog.c 1.4 -> 1.5

--- 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)
 {

CVSTrac 2.0.1