diff options
Diffstat (limited to 'src/lib/dlt_user.c')
-rw-r--r-- | src/lib/dlt_user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dlt_user.c b/src/lib/dlt_user.c index eba6189..8d1aec1 100644 --- a/src/lib/dlt_user.c +++ b/src/lib/dlt_user.c @@ -3817,7 +3817,7 @@ DltReturnValue dlt_user_log_send_register_context(DltContextData *log) return DLT_RETURN_ERROR; } - if (log->handle->contextID=='\0') + if (log->handle->contextID[0] == '\0') { return DLT_RETURN_ERROR; } @@ -3900,7 +3900,7 @@ DltReturnValue dlt_user_log_send_unregister_context(DltContextData *log) return DLT_RETURN_WRONG_PARAMETER; } - if (log->handle->contextID=='\0') + if (log->handle->contextID[0] == '\0') { return DLT_RETURN_ERROR; } |