summaryrefslogtreecommitdiff
path: root/src/daemon/dlt_daemon_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/dlt_daemon_client.c')
-rw-r--r--src/daemon/dlt_daemon_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/dlt_daemon_client.c b/src/daemon/dlt_daemon_client.c
index 55413c5..efd8dae 100644
--- a/src/daemon/dlt_daemon_client.c
+++ b/src/daemon/dlt_daemon_client.c
@@ -133,7 +133,7 @@ static int dlt_daemon_client_send_all_multiple(DltDaemon *daemon,
if((ret != DLT_DAEMON_ERROR_OK) &&
DLT_CONNECTION_CLIENT_MSG_TCP == temp->type)
{
- dlt_daemon_close_socket(temp->fd,
+ dlt_daemon_close_socket(temp->receiver->fd,
daemon,
daemon_local,
verbose);