OSSP CVS Repository

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

ossp-pkg/l2/l2_test.c 1.50 -> 1.51

--- l2_test.c    2002/07/30 19:08:25     1.50
+++ l2_test.c    2003/01/06 11:41:52     1.51
@@ -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
@@ -45,12 +46,12 @@
     exit(1);
 }
 
-static l2_result_t 
+static l2_result_t
 formatter(l2_context_t *ctx, const char id, const char *param,
           char *bufptr, size_t bufsize, size_t *buflen, va_list *ap)
 {
     int i;
-    
+
     i = va_arg(*ap, int);
     sprintf(bufptr, "[%d/%s]", i, param);
     *buflen = strlen(bufptr);
@@ -153,7 +154,7 @@
     /* open channel tree */
     if ((rv = l2_channel_open(ch)) != L2_OK)
         die(env, rv, "failed to open channel tree");
-    
+
     /* perform a few log operations */
     if ((rv = l2_channel_log(ch, L2_LEVEL_PANIC, "1: Checking localhost %s %{myparm}k <%{text}S><%{hex}S><%{base64}S>\n", "foo", 12345, "foo\1bar", 7, "foo\1bar", 7, "foo\1bar", 7)) != L2_OK)
         die(env, rv, "failed to log message #1 to channel");

CVSTrac 2.0.1