diff options
| author | Raymaekers Luca <luca@keyfried.com> | 2024-11-08 15:50:09 +0100 |
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-08 15:51:07 +0100 |
| commit | 1fe1adf85a8b14cab10b6c1e76fa5c3542356ea3 (patch) | |
| tree | cdf7fa1255601a60370a7066ceaa2c46bd0dd673 /server.c | |
| parent | cfcf3aae2494636b5469eaeb4e86b8c034ce3cf2 (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) { |
