From 65d137348f400d37fb95b4d4076de145f5a22bff Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Mon, 21 Oct 2024 12:53:03 +0200 Subject: Moved common.c to common.h - fixed bug(server.c): `on` not being 32 bytes - cleanup --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server.c') 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); -- cgit v1.2.3