--- 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);
|