OSSP CVS Repository

ossp - Difference in ossp-pkg/pth/pthread.c versions 1.52 and 1.53
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/pth/pthread.c 1.52 -> 1.53

--- pthread.c    2001/03/24 14:27:29     1.52
+++ pthread.c    2001/03/24 14:37:06     1.53
@@ -1089,13 +1089,13 @@
     return pth_send(fd, buf, nbytes, flags);
 }
 
-ssize_t __pthread_recvfrom(int fd, void *buf, size_t nbytes, int flags, struct sockaddr *from, int *fromlen)
+ssize_t __pthread_recvfrom(int fd, void *buf, size_t nbytes, int flags, struct sockaddr *from, socklen_t *fromlen)
 {
     pthread_initialize();
     return pth_recvfrom(fd, buf, nbytes, flags, from, fromlen);
 }
 
-ssize_t __pthread_sendto(int fd, const void *buf, size_t nbytes, int flags, struct sockaddr *to, int tolen)
+ssize_t __pthread_sendto(int fd, const void *buf, size_t nbytes, int flags, const struct sockaddr *to, socklen_t tolen)
 {
     pthread_initialize();
     return pth_sendto(fd, buf, nbytes, flags, to, tolen);

CVSTrac 2.0.1