summaryrefslogtreecommitdiff
path: root/src/daemon/dlt-daemon.c
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-09-23 21:12:51 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-09-23 21:12:51 +0200
commit1ad9971d8a87721b8a6a98198e31b3b54d1be7ce (patch)
treef8c36b6f81e952086e080e692c57ecd5a38631ed /src/daemon/dlt-daemon.c
parent0eaf6ec6b762018db31f7626bbc6e2cdfc374c5c (diff)
downloadDLT-daemon-1ad9971d8a87721b8a6a98198e31b3b54d1be7ce.tar.gz
Merged version for SHM now works.
Diffstat (limited to 'src/daemon/dlt-daemon.c')
-rwxr-xr-xsrc/daemon/dlt-daemon.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c
index 831506c..6b2155d 100755
--- a/src/daemon/dlt-daemon.c
+++ b/src/daemon/dlt-daemon.c
@@ -1781,7 +1781,7 @@ int dlt_daemon_process_user_message_log(DltDaemon *daemon, DltDaemonLocal *daemo
if (dlt_message_read(&(daemon_local->msg),rcv_buffer,size,0,verbose)==0)
{
/* set overwrite ecu id */
- if (daemon_local->flags.evalue!=0)
+ if (daemon_local->flags.evalue[0])
{
/* Set header extra parameters */
dlt_set_id(daemon_local->msg.headerextra.ecu, daemon->ecuid );
@@ -1814,8 +1814,8 @@ int dlt_daemon_process_user_message_log(DltDaemon *daemon, DltDaemonLocal *daemo
}
}
- if ((daemon_local->flags.fvalue==0) ||
- (daemon_local->flags.fvalue && (dlt_message_filter_check(&(daemon_local->msg),&(daemon_local->filter),verbose)==1)))
+ if ((daemon_local->flags.fvalue[0]==0) ||
+ (daemon_local->flags.fvalue[0] && (dlt_message_filter_check(&(daemon_local->msg),&(daemon_local->filter),verbose)==1)))
{
/* if no filter set or filter is matching display message */
if (daemon_local->flags.xflag)
@@ -1842,7 +1842,7 @@ int dlt_daemon_process_user_message_log(DltDaemon *daemon, DltDaemonLocal *daemo
} /* if */
/* if file output enabled write message */
- if (daemon_local->flags.ovalue)
+ if (daemon_local->flags.ovalue[0])
{
/* write message to output buffer */
if (dlt_user_log_out2(daemon_local->ohandle,
@@ -1889,7 +1889,7 @@ int dlt_daemon_process_user_message_log(DltDaemon *daemon, DltDaemonLocal *daemo
sent=1;
} /* if */
- else if ((j == daemon_local->fdserial) && (daemon_local->flags.yvalue!=0))
+ else if ((j == daemon_local->fdserial) && (daemon_local->flags.yvalue[0]))
{
DLT_DAEMON_SEM_LOCK();