From df57c468df1f7f2e2f38f3db3c087cc4ca56fed1 Mon Sep 17 00:00:00 2001 From: Frederic Berat Date: Thu, 3 Dec 2015 13:22:26 +0100 Subject: dlt-daemon: Connection activation rework The activation of the connection is now centralized in one common function. Signed-off-by: Frederic Berat Change-Id: I86703eab411088905a85f526d5102875e2c92b7e --- src/daemon/dlt-daemon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/daemon/dlt-daemon.c') diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c index 674ece5..d03cd02 100644 --- a/src/daemon/dlt-daemon.c +++ b/src/daemon/dlt-daemon.c @@ -3106,8 +3106,7 @@ int dlt_daemon_close_socket(int sock, DltDaemon *daemon, DltDaemonLocal *daemon_ /* Closure is done while unregistering has for any connection */ dlt_event_handler_unregister_connection(&daemon_local->pEvent, daemon_local, - sock, - DLT_CONNECTION_CLIENT_MSG_TCP); + sock); if(daemon_local->client_connections==0) -- cgit v1.2.1