summaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2014-01-23 13:39:29 +0100
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2014-01-23 13:49:41 +0100
commita2ab2fcbf9550e79205d7ef04148e73879a4d736 (patch)
treedd1df3c0815c247a47ce7d3fa2ccfcbe4650ffe4 /src/daemon
parent796fed63c4b8f060829e5ae4df9b6a74422206b9 (diff)
downloadDLT-daemon-a2ab2fcbf9550e79205d7ef04148e73879a4d736.tar.gz
Fixed serial port not working anymore.
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/dlt_daemon_client.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/daemon/dlt_daemon_client.c b/src/daemon/dlt_daemon_client.c
index 0dcfbe9..e122f87 100644
--- a/src/daemon/dlt_daemon_client.c
+++ b/src/daemon/dlt_daemon_client.c
@@ -142,16 +142,7 @@ int dlt_daemon_client_send(int sock,DltDaemon *daemon,DltDaemonLocal *daemon_loc
/* send to everyone! */
if (FD_ISSET(j, &(daemon_local->master)))
{
- /* except the listener and ourselves */
- if (daemon_local->flags.yvalue[0])
- {
- third_value = daemon_local->fdserial;
- }
- else
- {
- third_value = daemon_local->sock;
- }
- if ((j != daemon_local->fp) && (j != daemon_local->sock) && (j != third_value)
+ if ((j != daemon_local->fp) && (j != daemon_local->sock) && (j != daemon_local->sock)
#ifdef DLT_SYSTEMD_WATCHDOG_ENABLE
&& (j!=daemon_local->timer_wd)
#endif