Index: ossp-pkg/pth/pth_high.c RCS File: /v/ossp/cvs/ossp-pkg/pth/pth_high.c,v rcsdiff -q -kk '-r1.100' '-r1.101' -u '/v/ossp/cvs/ossp-pkg/pth/pth_high.c,v' 2>/dev/null --- pth_high.c 2002/11/08 12:38:39 1.100 +++ pth_high.c 2002/11/08 15:35:30 1.101 @@ -537,7 +537,7 @@ pfd[i].revents |= POLLRDNORM; ok++; /* support for POLLHUP */ - if (recv(pfd[i].fd, data, 64, MSG_PEEK) == -1) { + if (recv(pfd[i].fd, data, sizeof(data), MSG_PEEK) == -1) { if ( errno == ESHUTDOWN || errno == ECONNRESET || errno == ECONNABORTED || errno == ENETRESET) { pfd[i].revents &= ~(POLLIN);