summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2012-06-27 16:28:11 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2012-11-26 12:38:52 +0100
commit7ba1e657e19c401cdda0d643ee78bdbd50b1be85 (patch)
tree5f50af7fc22d4611cfbdc6d700e36b8d4df870da
parentda99dde7401fce0d9a844ea7881ce7b1208547e0 (diff)
downloadDLT-daemon-7ba1e657e19c401cdda0d643ee78bdbd50b1be85.tar.gz
Create new fifo only when same application registers with different pid.
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
-rw-r--r--src/daemon/dlt_daemon_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/dlt_daemon_common.c b/src/daemon/dlt_daemon_common.c
index 5704d56..3e24475 100644
--- a/src/daemon/dlt_daemon_common.c
+++ b/src/daemon/dlt_daemon_common.c
@@ -346,7 +346,7 @@ DltDaemonApplication* dlt_daemon_application_add(DltDaemon *daemon,char *apid,pi
if( application->user_handle != DLT_FD_INIT )
{
- if( application->pid != 0 )
+ if( application->pid != pid )
{
if ( close(application->user_handle) < 0 )
{