OSSP CVS Repository

ossp - Difference in ossp-pkg/sa/sa.c versions 1.65 and 1.66
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/sa/sa.c 1.65 -> 1.66

--- sa.c 2002/10/30 19:09:35     1.65
+++ sa.c 2002/10/30 20:22:06     1.66
@@ -2076,7 +2076,7 @@
 }
 
 /* receive data via socket */
-sa_rc_t sa_recv(sa_t *sa, char *buf, size_t buflen, size_t *bufdone, sa_addr_t **raddr)
+sa_rc_t sa_recv(sa_t *sa, sa_addr_t **raddr, char *buf, size_t buflen, size_t *bufdone)
 {
     sa_rc_t rv;
     union {
@@ -2138,7 +2138,7 @@
 }
 
 /* send data via socket */
-sa_rc_t sa_send(sa_t *sa, const char *buf, size_t buflen, size_t *bufdone, sa_addr_t *raddr)
+sa_rc_t sa_send(sa_t *sa, sa_addr_t *raddr, const char *buf, size_t buflen, size_t *bufdone)
 {
     size_t n;
     fd_set fds;
@@ -2214,7 +2214,7 @@
     va_end(ap);
 
     /* pass-through to sa_send() */
-    rv = sa_send(sa, cpBuf, nBuf, NULL, raddr);
+    rv = sa_send(sa, raddr, cpBuf, nBuf, NULL);
 
     /* cleanup dynamically allocated buffer */
     if ((nBuf+1) > sizeof(caBuf))

CVSTrac 2.0.1