OSSP CVS Repository

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

ossp-pkg/l2/l2_ch_prefix.c 1.17 -> 1.18

--- l2_ch_prefix.c       2001/11/07 11:37:18     1.17
+++ l2_ch_prefix.c       2001/11/07 13:05:20     1.18
@@ -64,12 +64,14 @@
     l2_ch_prefix_t *cfg = (l2_ch_prefix_t *)ctx->vp;
     l2_param_t pa[3]; 
     l2_result_t rv;
+    l2_env_t *env;
 
     /* feed and call generic parameter parsing engine */
-    L2_PARAM_SET(pa[0], prefix,  STRING, &cfg->prefix);
-    L2_PARAM_SET(pa[1], timezone, STRING, &cfg->timezone);
+    L2_PARAM_SET(pa[0], prefix,   STR, &cfg->prefix);
+    L2_PARAM_SET(pa[1], timezone, STR, &cfg->timezone);
     L2_PARAM_END(pa[2]);
-    rv = l2_util_setparams(pa, fmt, ap);
+    l2_channel_env(ch, &env);
+    rv = l2_util_setparams(env, pa, fmt, ap);
 
     /* argument consistency check */
     if (rv == L2_OK) {

CVSTrac 2.0.1