aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 787c6dd..1a24bcc 100644
--- a/server.c
+++ b/server.c
@@ -30,7 +30,7 @@ int main(void)
{
u32 clientfd;
u16 nclient = 0;
- u8 on = 1;
+ u32 on = 1;
struct message msg_recv = {0};
serverfd = socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK, IPPROTO_TCP);