From f820c424539e0d20c7befdfc04412d9acd29614a Mon Sep 17 00:00:00 2001 From: hackbard Date: Sat, 19 Oct 2002 01:06:00 +0000 Subject: [PATCH] added close to listen_fd --- stream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/stream.c b/stream.c index 834bf47..1a150e1 100644 --- a/stream.c +++ b/stream.c @@ -74,6 +74,7 @@ int main(int argc, char *argv[]) { } close(send_fd); + close(listen_fd); printf("connection closed ...\n"); printf("%d from %d total bytes sent.\n",send_bytes,read_bytes); } -- 2.20.1