aboutsummaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-03-12 07:43:29 +0000
committerbloodstalker <thabogre@gmail.com>2017-03-12 07:43:29 +0000
commit25e248f8128117d0c9a7df0007f42fdaa3c61d48 (patch)
tree725cc5933fa43c7a102b727608af705e47573e11 /daemon
parentfixing issues (diff)
downloadmutator-25e248f8128117d0c9a7df0007f42fdaa3c61d48.tar.gz
mutator-25e248f8128117d0c9a7df0007f42fdaa3c61d48.zip
fixed an issue
Diffstat (limited to 'daemon')
-rw-r--r--daemon/daemon_aux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/daemon_aux.c b/daemon/daemon_aux.c
index 6057f2a..4f93aec 100644
--- a/daemon/daemon_aux.c
+++ b/daemon/daemon_aux.c
@@ -80,6 +80,7 @@ int mutator_server(FILE* log_file)
if (client_sock < 0)
{
perror("could not accept incoming client.");
+ close(socket_desc);
return 1;
}
fprintf(log_file, "%s", "connection accpeted.\n");