diff options
Diffstat (limited to 'daemon/daemon_aux.c')
-rw-r--r-- | daemon/daemon_aux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/daemon_aux.c b/daemon/daemon_aux.c index 86e57ee..248df08 100644 --- a/daemon/daemon_aux.c +++ b/daemon/daemon_aux.c @@ -142,6 +142,8 @@ int mutator_server(FILE* log_file) fprintf(log_file, "%s", "client disconnected\n"); fflush(stdout); fprintf(log_file, "%s", "closing log file\n"); + close(client_sock); + close(socket_desc); } else if (read_size == -1) { |