--- l2_ch_prefix.c 2002/08/06 12:55:06 1.22
+++ l2_ch_prefix.c 2003/01/06 11:41:51 1.23
@@ -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
@@ -64,7 +65,7 @@
static l2_result_t hook_configure(l2_context_t *ctx, l2_channel_t *ch, const char *fmt, va_list ap)
{
l2_ch_prefix_t *cfg = (l2_ch_prefix_t *)ctx->vp;
- l2_param_t pa[3];
+ l2_param_t pa[3];
l2_result_t rv;
l2_env_t *env;
@@ -79,7 +80,7 @@
if (rv == L2_OK) {
if (cfg->timezone == NULL)
return L2_ERR_ARG;
- if (!( strcmp(cfg->timezone, "local") == 0
+ if (!( strcmp(cfg->timezone, "local") == 0
|| strcmp(cfg->timezone, "utc") == 0))
return L2_ERR_ARG;
}
|