Skip to content

Commit 075e03f

Browse files
authored
dlt-daemon.c: fix wrong len (#852)
Set len to 0 makes the application description always empty. One of the failure case: running "dlt-example-user 'test'", check "dlt-control -j localhost" will not get application description: APID:LOG- Expected: APID:LOG- Test Application for Logging Signed-off-by: Changqing Li <changqing.li@windriver.com>
1 parent e3bc133 commit 075e03f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/daemon/dlt-daemon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4111,7 +4111,7 @@ int dlt_daemon_process_user_message_register_application(DltDaemon *daemon,
41114111
to_remove = (uint32_t) temp;
41124112
}
41134113

4114-
len = 0;
4114+
len = userapp.description_length;
41154115

41164116
if (len > DLT_DAEMON_DESCSIZE) {
41174117
len = DLT_DAEMON_DESCSIZE;

0 commit comments

Comments
 (0)