ossp-pkg/l2/l2_ch_syslog.c 1.23 -> 1.24
--- l2_ch_syslog.c 2001/10/06 14:35:57 1.23
+++ l2_ch_syslog.c 2001/10/10 15:58:27 1.24
@@ -228,7 +228,7 @@
if ((rc = sa_create(&cfg->saRemoteSock)) != SA_OK)
return (rc == SA_ERR_SYS ? L2_ERR_SYS : L2_ERR_INT);
sa_type(cfg->saRemoteSock, SA_TYPE_DATAGRAM);
- sa_timeout(cfg->saRemoteSock, 10, 0);
+ sa_timeout(cfg->saRemoteSock, SA_TIMEOUT_ALL, 10, 0);
if ((rc = sa_addr_create(&la)) != SA_OK)
return (rc == SA_ERR_SYS ? L2_ERR_SYS : L2_ERR_INT);
/* FIXME: if uid == 0 -> use port 514 */
|
|