Browse Source

make gcc -ansi compatible

master
Felix von Leitner 13 years ago
parent
commit
4fb7bf6209
  1. 4
      socket.h

4
socket.h

@ -55,8 +55,8 @@ int socket_mcloop6(int s,char loop);
* no data available. So far, DATAIN is supported on FreeBSD and Linux,
* and HTTPIN is supported on FreeBSD. */
enum defermode {
DATAIN, // only signal accept() if there is data coming in
HTTPIN, // only signal accept() if a HTTP header has come in
DATAIN, /* only signal accept() if there is data coming in */
HTTPIN, /* only signal accept() if a HTTP header has come in */
};
void socket_deferaccept(int s,enum defermode mode);

Loading…
Cancel
Save