ossp-pkg/l2/l2_ch_socket.c 1.36 -> 1.37
--- l2_ch_socket.c 2002/07/30 19:08:25 1.36
+++ l2_ch_socket.c 2002/11/09 14:44:31 1.37
@@ -151,7 +151,7 @@
if (strcmp(cfg->szProto, "tcp") == 0)
rc = sa_write(cfg->saRemote, buf, sizeRemain, &sizeWrite);
else
- rc = sa_send(cfg->saRemote, buf, sizeRemain, &sizeWrite, cfg->saaRemote);
+ rc = sa_send(cfg->saRemote, cfg->saaRemote, buf, sizeRemain, &sizeWrite);
if (rc != SA_OK)
return (rc == SA_ERR_SYS ? L2_ERR_SYS : L2_ERR_INT);
sizeRemain = sizeRemain - sizeWrite; /* how much is left? */
|
|