From 3cfb292aa43774428ce8dfe120fe16785942b086 Mon Sep 17 00:00:00 2001 From: ManikandanChockalingam Date: Thu, 15 Nov 2018 13:52:21 +0100 Subject: Log storage - Updates (#82) - improvements and refactor key creation - Sync strategies added Signed-off-by: ManikandanC Signed-off-by: Saya Sugiura Signed-off-by: S. Hameed Signed-off-by: Ravi Sankar P Signed-off-by: Christoph Lipka --- src/daemon/dlt_daemon_common.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/daemon/dlt_daemon_common.c') 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) } } - - - -- cgit v1.2.1