akosut 96/06/13 14:12:02
Modified: src mod_proxy.c
Log:
Fix compile warning on HP-UX
Revision Changes Path
1.27 +4 -0 apache/src/mod_proxy.c
Index: mod_proxy.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_proxy.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -C3 -r1.26 -r1.27
*** mod_proxy.c 1996/06/11 15:42:57 1.26
--- mod_proxy.c 1996/06/13 21:11:57 1.27
***************
*** 2691,2697 ****
--- 2691,2701 ----
Explain0("Going to sleep (select)");
i = select((r->connection->client->fd > sock ?
r->connection->client->fd+1 :
+ #ifdef HPUX
+ sock+1), (int*)&fds, NULL, NULL, NULL);
+ #else
sock+1), &fds, NULL, NULL, NULL);
+ #endif
Explain1("Woke from select(), i=%d",i);
if (i)