summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-12 10:23:08 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-12 10:23:08 +0100
commitfdf76352c3c6d440e692fff3dba582e9a589b536 (patch)
tree9ebdc574759a668ac72575137e618450fd4306cc
parent77a83472135eef19d9953898d106e6a5ab015912 (diff)
downloadecon-fdf76352c3c6d440e692fff3dba582e9a589b536.tar.gz
econ-fdf76352c3c6d440e692fff3dba582e9a589b536.tar.bz2
econ-fdf76352c3c6d440e692fff3dba582e9a589b536.zip
econfind: close sockets
-rw-r--r--econfind.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/econfind.c b/econfind.c
index 88bbbd3..fdda71e 100644
--- a/econfind.c
+++ b/econfind.c
@@ -70,6 +70,8 @@ main(int argc, char *argv[])
printf("\n");
}
+ close(cfd);
+ close(sfd);
+
return 0;
}
-