[PATCH 09/28] common ta: Close listener socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
---
 cts/agents/common_test_agent.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cts/agents/common_test_agent.c b/cts/agents/common_test_agent.c
index 6849761..1035a6a 100644
--- a/cts/agents/common_test_agent.c
+++ b/cts/agents/common_test_agent.c
@@ -311,6 +311,7 @@ test_agent_run(const char * prog_name, int server_port,
 
 	qb_loop_run (poll_handle);
 
+	close(listener);
 	qb_log (LOG_INFO, "EXITING");
 	qb_log_fini();
 	return 0;
-- 
1.7.1

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss




[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux