ben 96/05/31 13:16:31
Modified: src http_main.c Log: Fix HPUX compiler warning. Submitted by: Rob Hartill Revision Changes Path 1.31 +5 -1 apache/src/http_main.c Index: http_main.c =================================================================== RCS file: /export/home/cvs/apache/src/http_main.c,v retrieving revision 1.30 retrieving revision 1.31 diff -C3 -r1.30 -r1.31 *** http_main.c 1996/05/28 09:14:24 1.30 --- http_main.c 1996/05/31 20:16:27 1.31 *************** *** 1172,1178 **** for (;;) { memcpy(&fds, &listenfds, sizeof(fd_set)); ! csd = select(listenmaxfd+1, &fds, NULL, NULL, NULL); if (csd == -1 && errno != EINTR) log_unixerr("select",NULL,"select error", server_conf); if (csd <= 0) continue; --- 1172,1182 ---- for (;;) { memcpy(&fds, &listenfds, sizeof(fd_set)); ! #ifdef HPUX ! csd = select(listenmaxfd+1, (int*)&fds, NULL, NULL, NULL); ! #else ! csd = select(listenmaxfd+1, &fds, NULL, NULL, NULL); ! #endif if (csd == -1 && errno != EINTR) log_unixerr("select",NULL,"select error", server_conf); if (csd <= 0) continue;