From 3a0557627441ff9ad161c56b82f7382e304bd9ae Mon Sep 17 00:00:00 2001 From: leitner Date: Sun, 4 Jan 2009 03:11:57 +0000 Subject: [PATCH] make gcc -ansi compatible --- socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/socket.h b/socket.h index cc397cd..e53e508 100644 --- a/socket.h +++ b/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);