diff options
author | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2012-06-27 16:28:11 +0200 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2012-11-26 12:38:52 +0100 |
commit | 7ba1e657e19c401cdda0d643ee78bdbd50b1be85 (patch) | |
tree | 5f50af7fc22d4611cfbdc6d700e36b8d4df870da | |
parent | da99dde7401fce0d9a844ea7881ce7b1208547e0 (diff) | |
download | DLT-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.c | 2 |
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 ) { |