ossp-pkg/l2/l2_ch_syslog.c 1.31 -> 1.32
--- l2_ch_syslog.c 2002/07/30 19:08:25 1.31
+++ l2_ch_syslog.c 2002/11/09 14:44:31 1.32
@@ -297,8 +297,8 @@
cfg->szIdent, buf);
if ((n = strlen(caBuf)) > 1024)
return L2_ERR_IO;
- if ((rc = sa_send(cfg->saRemoteSock, caBuf, n,
- NULL, cfg->saaRemoteAddr)) != SA_OK)
+ if ((rc = sa_send(cfg->saRemoteSock, cfg->saaRemoteAddr,
+ caBuf, n, NULL)) != SA_OK)
return (rc == SA_ERR_SYS ? L2_ERR_SYS : L2_ERR_IO);
}
|
|