OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/l2_ch_file.c versions 1.24 and 1.25
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/l2_ch_file.c 1.24 -> 1.25

--- l2_ch_file.c 2002/07/30 19:08:24     1.24
+++ l2_ch_file.c 2003/01/06 11:41:51     1.25
@@ -1,9 +1,10 @@
 /*
-**  OSSP l2 - Logging Library
-**  Copyright (c) 2001-2002 The OSSP Project (http://www.ossp.org/)
-**  Copyright (c) 2001-2002 Cable & Wireless Deutschland (http://www.cw.com/de/)
+**  OSSP l2 - Flexible Logging
+**  Copyright (c) 2001-2003 Cable & Wireless Deutschland GmbH
+**  Copyright (c) 2001-2003 The OSSP Project (http://www.ossp.org/)
+**  Copyright (c) 2001-2003 Ralf S. Engelschall <rse@engelschall.com>
 **
-**  This file is part of OSSP L2, a flexible logging library which
+**  This file is part of OSSP l2, a flexible logging library which
 **  can be found at http://www.ossp.org/pkg/lib/l2/.
 **
 **  Permission to use, copy, modify, and distribute this software for
@@ -51,10 +52,10 @@
         return L2_ERR_ARG;
 
     /* initialize configuration with reasonable defaults */
-    cfg->fd     = -1; 
-    cfg->path   = NULL; 
-    cfg->append = TRUE; 
-    cfg->perm   = (S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); 
+    cfg->fd     = -1;
+    cfg->path   = NULL;
+    cfg->append = TRUE;
+    cfg->perm   = (S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
 
     /* link private channel configuration into channel context */
     ctx->vp = cfg;
@@ -66,7 +67,7 @@
 static l2_result_t hook_configure(l2_context_t *ctx, l2_channel_t *ch, const char *fmt, va_list ap)
 {
     l2_ch_file_t *cfg = (l2_ch_file_t *)ctx->vp;
-    l2_param_t pa[4]; 
+    l2_param_t pa[4];
     l2_result_t rv;
     l2_env_t *env;
 
@@ -112,7 +113,7 @@
                               l2_level_t level, const char *buf, size_t buf_size)
 {
     l2_ch_file_t *cfg = (l2_ch_file_t *)ctx->vp;
-    
+
     /* write message to channel file */
     if (write(cfg->fd, buf, buf_size) == -1)
         return L2_ERR_SYS;

CVSTrac 2.0.1