OSSP CVS Repository

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

ossp-pkg/l2/l2_ch_smtp.c 1.4 -> 1.5

--- l2_ch_smtp.c 2001/10/06 14:33:09     1.4
+++ l2_ch_smtp.c 2001/10/10 15:58:27     1.5
@@ -132,8 +132,9 @@
         return (rc == SA_ERR_SYS ? L2_ERR_SYS : L2_ERR_INT);
 
     /* configure socket parameters */
-    sa_timeout(cfg->saServer, cfg->nTimeout, 0);
-    sa_buffers(cfg->saServer, 4096, 4096);
+    sa_timeout(cfg->saServer, SA_TIMEOUT_ALL, cfg->nTimeout, 0);
+    sa_buffer(cfg->saServer, SA_BUFFER_READ, 4096);
+    sa_buffer(cfg->saServer, SA_BUFFER_WRITE, 4096);
 
     return L2_OK;
 }

CVSTrac 2.0.1