ben 99/10/10 06:19:58
Modified: src/lib/apr/network_io/unix poll.c Log: Use the correct size everywhere. Revision Changes Path 1.11 +1 -1 apache-2.0/src/lib/apr/network_io/unix/poll.c Index: poll.c =================================================================== RCS file: /export/home/cvs/apache-2.0/src/lib/apr/network_io/unix/poll.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- poll.c 1999/10/10 13:15:58 1.10 +++ poll.c 1999/10/10 13:19:57 1.11 @@ -174,7 +174,7 @@ int rv; pollset = (struct pollfd *)ap_palloc(aprset->cntxt, - sizeof(struct pollfd) * (*nsds)); + sizeof(struct pollfd) * aprset->curpos); for (i = 0; i < aprset->curpos; i++) { pollset[i].fd = aprset->sock[i];