Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: CVS

cvs commit: apache/src http_main.c

 

 

Apache cvs RSS feed   Index | Next | Previous | View Threaded


ben at hyperreal

May 31, 1996, 1:16 PM

Post #1 of 1 (104 views)
Permalink
cvs commit: apache/src http_main.c

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;

Apache cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.