diff options
author | Test_User <hax@andrewyu.org> | 2024-05-26 16:47:45 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-05-26 16:47:56 -0400 |
commit | 462f11de02e2cde6c4c196acf9c3dfa8c6d75f3d (patch) | |
tree | 86c8101e137700493f24ab12d152e2635fee4293 /main.c | |
parent | 5e819c46cdf88ec09125cb593757d1203245a8b7 (diff) | |
download | c_coupserv-462f11de02e2cde6c4c196acf9c3dfa8c6d75f3d.tar.gz c_coupserv-462f11de02e2cde6c4c196acf9c3dfa8c6d75f3d.zip |
Writing on stale fds is a bad idea
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -233,6 +233,7 @@ void *client_loop(void *ign) { } close(client_fd); + client_fd = -1; free(full_msg.data); listen(client_listen_fd, 1); } |