OSSP CVS Repository

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

ossp-pkg/l2/l2_ch_syslog.c 1.12 -> 1.13

--- l2_ch_syslog.c       2001/09/04 19:18:49     1.12
+++ l2_ch_syslog.c       2001/09/04 19:35:20     1.13
@@ -67,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_syslog_t *cfg;
-    l2_param_t pa[3];
+    l2_param_t pa[6];
     l2_result_t rv;
 
     /* parameter checks */
@@ -77,10 +77,10 @@
     /* feed and call generic parameter parsing engine */
     L2_PARAM_SET(pa[0], ident,   CHARPTR,  &cfg->pszIdent);
     L2_PARAM_SET(pa[1], logopts, INT,      &cfg->iLogopt);
-    L2_PARAM_SET(pa[1], facility, INT,     &cfg->iFacility);
-    L2_PARAM_SET(pa[1], priority, INT,     &cfg->iPriority);
-    L2_PARAM_SET(pa[1], maskpriority, INT, &cfg->iMaskpri);
-    L2_PARAM_END(pa[2]);
+    L2_PARAM_SET(pa[2], facility, INT,     &cfg->iFacility);
+    L2_PARAM_SET(pa[3], priority, INT,     &cfg->iPriority);
+    L2_PARAM_SET(pa[4], maskpriority, INT, &cfg->iMaskpri);
+    L2_PARAM_END(pa[5]);
     rv = l2_util_setparams(pa, fmt, ap);
 
     return rv;

CVSTrac 2.0.1