diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-08 15:50:09 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-08 15:51:07 +0100 |
commit | 0ce18f9b70d907c8c50d45c4b5b279b8bd9275f1 (patch) | |
tree | cdf7fa1255601a60370a7066ceaa2c46bd0dd673 /server.c | |
parent | 5e64be597ba0b30fcb99de33da605c93ddd30fdc (diff) |
create archived.md for tasks which are done
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -471,7 +471,11 @@ main(int argc, char** argv) client = authenticate(&clientsArena, clients_file, fds + conn, header); if (!client) + { loggingf("Could not initialize client (%d)\n", fds[conn].fd); + close(fds[conn].fd); + fds[conn].fd = -1; + } /* This is the first time a message is sent, because unifd is not yet set. */ else if (!client->unifd) { |