diff options
author | ManikandanChockalingam <manikandan.chockalingam@in.bosch.com> | 2018-11-15 13:52:21 +0100 |
---|---|---|
committer | Christoph Lipka <clipka@users.noreply.github.com> | 2018-11-15 13:52:21 +0100 |
commit | 3cfb292aa43774428ce8dfe120fe16785942b086 (patch) | |
tree | 00841761981aead232f5e6995eefde6babaddeb4 /src/daemon/dlt_daemon_common.c | |
parent | 6cbaa4fd39fb584a227b8eb7a3331dcfce54d9a3 (diff) | |
download | DLT-daemon-3cfb292aa43774428ce8dfe120fe16785942b086.tar.gz |
Log storage - Updates (#82)
- improvements and refactor key creation
- Sync strategies added
Signed-off-by: ManikandanC <Manikandan.Chockalingam@in.bosch.com>
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Signed-off-by: S. Hameed <shameed@jp.adit-jv.com>
Signed-off-by: Ravi Sankar P <ponnurangamravi.sankar@in.bosch.com>
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Diffstat (limited to 'src/daemon/dlt_daemon_common.c')
-rw-r--r-- | src/daemon/dlt_daemon_common.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/daemon/dlt_daemon_common.c b/src/daemon/dlt_daemon_common.c index 3ba4c9b..990c029 100644 --- a/src/daemon/dlt_daemon_common.c +++ b/src/daemon/dlt_daemon_common.c @@ -973,9 +973,8 @@ DltDaemonContext* dlt_daemon_context_add(DltDaemon *daemon, /* Store log level and trace status, if this is a new context, or if this is an old context and the runtime cfg was not loaded */ - if ((strncmp(daemon->ecuid, ecu, DLT_ID_SIZE) == 0) && - ((new_context == 1) || ((new_context == 0) && - (daemon->runtime_context_cfg_loaded == 0)))) + if ((new_context == 1) || + ((new_context == 0) && (daemon->runtime_context_cfg_loaded == 0))) { context->log_level = log_level; context->trace_status = trace_status; @@ -1785,6 +1784,3 @@ void dlt_daemon_change_state(DltDaemon *daemon, DltDaemonState newState) } } - - - |