httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <hart...@ooo.lanl.gov>
Subject Re: cvs snapshot. compiler warnings
Date Fri, 31 May 1996 14:01:00 GMT

Fix HPUX compiler warning.


*** http_main.c.orig    Fri May 31 13:56:08 1996
--- http_main.c Fri May 31 13:58:22 1996
***************
*** 1172,1178 ****
--- 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;


Mime
View raw message