OSSP CVS Repository

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

ossp-pkg/l2/l2_ch_buffer.c 1.33 -> 1.34

--- l2_ch_buffer.c       2001/11/07 11:37:18     1.33
+++ l2_ch_buffer.c       2001/11/07 13:05:20     1.34
@@ -160,13 +160,15 @@
     l2_ch_buffer_t *cfg = (l2_ch_buffer_t *)ctx->vp;
     l2_param_t pa[4];
     l2_result_t rv;
+    l2_env_t *env;
 
     /* feed and call generic parameter parsing engine */
     L2_PARAM_SET(pa[0], size,       INT, &cfg->bufsize);
     L2_PARAM_SET(pa[1], interval,   INT, &cfg->bufinterval);
     L2_PARAM_SET(pa[2], levelflush, INT, &cfg->levelflush);
     L2_PARAM_END(pa[3]);
-    rv = l2_util_setparams(pa, fmt, ap);
+    l2_channel_env(ch, &env);
+    rv = l2_util_setparams(env, pa, fmt, ap);
     if (cfg->bufinterval == -1L) /* -1 is reserved by L2 */
         return L2_ERR_ARG;       /* set_alarm() uses it  */
 

CVSTrac 2.0.1