OSSP CVS Repository

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

ossp-pkg/l2/l2_ch_smtp.c 1.7 -> 1.8

--- l2_ch_smtp.c 2001/11/07 11:37:18     1.7
+++ l2_ch_smtp.c 2001/11/07 13:05:20     1.8
@@ -93,19 +93,21 @@
     l2_ch_smtp_t *cfg = (l2_ch_smtp_t *)ctx->vp;
     l2_param_t pa[10]; 
     l2_result_t rv;
+    l2_env_t *env;
 
     /* feed and call generic parameter parsing engine */
-    L2_PARAM_SET(pa[0], progname,  STRING, &cfg->cpLocalProg);
-    L2_PARAM_SET(pa[1], localhost, STRING, &cfg->cpLocalHost);
-    L2_PARAM_SET(pa[2], localuser, STRING, &cfg->cpLocalUser);
-    L2_PARAM_SET(pa[3], from,      STRING, &cfg->cpFrom);
-    L2_PARAM_SET(pa[4], rcpt,      STRING, &cfg->cpRcpt);
-    L2_PARAM_SET(pa[5], subject,   STRING, &cfg->cpSubject);
-    L2_PARAM_SET(pa[6], host,      STRING, &cfg->cpHost);
-    L2_PARAM_SET(pa[7], port,      STRING, &cfg->cpPort);
-    L2_PARAM_SET(pa[8], timeout,   INT,    &cfg->nTimeout);
+    L2_PARAM_SET(pa[0], progname,  STR, &cfg->cpLocalProg);
+    L2_PARAM_SET(pa[1], localhost, STR, &cfg->cpLocalHost);
+    L2_PARAM_SET(pa[2], localuser, STR, &cfg->cpLocalUser);
+    L2_PARAM_SET(pa[3], from,      STR, &cfg->cpFrom);
+    L2_PARAM_SET(pa[4], rcpt,      STR, &cfg->cpRcpt);
+    L2_PARAM_SET(pa[5], subject,   STR, &cfg->cpSubject);
+    L2_PARAM_SET(pa[6], host,      STR, &cfg->cpHost);
+    L2_PARAM_SET(pa[7], port,      STR, &cfg->cpPort);
+    L2_PARAM_SET(pa[8], timeout,   INT, &cfg->nTimeout);
     L2_PARAM_END(pa[9]);
-    rv = l2_util_setparams(pa, fmt, ap);
+    l2_channel_env(ch, &env);
+    rv = l2_util_setparams(env, pa, fmt, ap);
 
     return rv;
 }

CVSTrac 2.0.1