summaryrefslogtreecommitdiff
path: root/src/daemon/dlt-daemon.c
diff options
context:
space:
mode:
authorFrederic Berat <fberat@de.adit-jv.com>2015-12-03 13:22:26 +0100
committerGernot Wirschal <gernot.wirschal@bmw.de>2016-04-28 13:31:55 +0200
commitdf57c468df1f7f2e2f38f3db3c087cc4ca56fed1 (patch)
tree45736fd8745915b8aaa3473fb6ad1ee7b1e37658 /src/daemon/dlt-daemon.c
parenta9a43701138c99b3211ded8d388666161f7cde67 (diff)
downloadDLT-daemon-df57c468df1f7f2e2f38f3db3c087cc4ca56fed1.tar.gz
dlt-daemon: Connection activation rework
The activation of the connection is now centralized in one common function. Signed-off-by: Frederic Berat <fberat@de.adit-jv.com> Change-Id: I86703eab411088905a85f526d5102875e2c92b7e
Diffstat (limited to 'src/daemon/dlt-daemon.c')
-rw-r--r--src/daemon/dlt-daemon.c3
1 files changed, 1 insertions, 2 deletions
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)