aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 50126a8..f720b3c 100644
--- a/main.c
+++ b/main.c
@@ -233,6 +233,7 @@ void *client_loop(void *ign) {
}
close(client_fd);
+ client_fd = -1;
free(full_msg.data);
listen(client_listen_fd, 1);
}