OSSP CVS Repository

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

ossp-pkg/l2/l2_ch_buffer.c 1.10 -> 1.11

--- l2_ch_buffer.c       2001/09/04 13:52:59     1.10
+++ l2_ch_buffer.c       2001/09/04 14:54:03     1.11
@@ -63,7 +63,7 @@
 static int hook_configure(l2_context_t *ctx, const char *fmt, va_list ap)
 {
     l2_ch_buffer_t *cfg;
-    l2_param_t pa[3];
+    l2_param_t pa[2];
     l2_result_t rv;
 
     /* parameter checks */
@@ -72,7 +72,7 @@
 
     /* feed and call generic parameter parsing engine */
     L2_PARAM_SET(pa[0], size, INT, &cfg->bufsize);
-    L2_PARAM_END(pa[2]);
+    L2_PARAM_END(pa[1]);
     rv = l2_util_setparams(pa, fmt, ap);
     if (cfg->bufsize < 0) 
         return L2_ERROR;

CVSTrac 2.0.1