aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-21 12:53:03 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-21 12:54:31 +0200
commit65d137348f400d37fb95b4d4076de145f5a22bff (patch)
treeb2738de9e6c04a9576066f721b46a9ba985e6aee /server.c
parentc616e09df8783a4f850f38f0b79b5029e781f932 (diff)
Moved common.c to common.h
- fixed bug(server.c): `on` not being 32 bytes - cleanup
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);