--- pth_syscall.c 2004/07/13 10:50:49 1.30
+++ pth_syscall.c 2004/09/12 12:02:50 1.31
@@ -664,7 +664,7 @@
/* internal exit point for Pth */
if (pth_syscall_fct_tab[PTH_SCF_sendto].addr != NULL)
return ((ssize_t (*)(int, const void *, size_t, int, const struct sockaddr *, socklen_t))
- pth_syscall_fct_tab[PTH_SCF_recvfrom].addr)
+ pth_syscall_fct_tab[PTH_SCF_sendto].addr)
(fd, buf, nbytes, flags, to, tolen);
#if defined(HAVE_SYSCALL) && defined(SYS_sendto)
else return (ssize_t)syscall(SYS_sendto, fd, buf, nbytes, flags, to, tolen);
|