summaryrefslogtreecommitdiff
path: root/src/tests/dlt-test-stress-client.c
diff options
context:
space:
mode:
authorDinh Cong Toan <toan.dinhcong@vn.bosch.com>2021-05-25 16:28:21 +0700
committerSaya Sugiura <39760799+ssugiura@users.noreply.github.com>2021-06-30 10:54:59 +0900
commit1e7d374593ae34c5f1b343a213123d5385852fe7 (patch)
tree8df78ee5c1112874dc0d4d7c682ff559cbc2d04f /src/tests/dlt-test-stress-client.c
parent3bb7eb24092ff771ccfd1119f8c1088f3f78f981 (diff)
downloadDLT-daemon-1e7d374593ae34c5f1b343a213123d5385852fe7.tar.gz
dlt message header broken
This commit is to revert the following commits: - de4a4234 - fb9ff078 - db9917b3 - e4467f0e - a567e01d Those commits are from improvement but they seem to break the dlt message header in some cases. Signed-off-by: Bui Nguyen Quoc Thanh <thanh.buinguyenquoc@vn.bosch.com>
Diffstat (limited to 'src/tests/dlt-test-stress-client.c')
-rw-r--r--src/tests/dlt-test-stress-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/dlt-test-stress-client.c b/src/tests/dlt-test-stress-client.c
index e435a00..1210386 100644
--- a/src/tests/dlt-test-stress-client.c
+++ b/src/tests/dlt-test-stress-client.c
@@ -447,7 +447,7 @@ int dlt_testclient_message_callback(DltMessage *message, void *data)
length_tmp = 0; /* the macro can set this variable to -1 */
ptr = message->databuffer;
- datalength = (int32_t) message->datasize;
+ datalength = message->datasize;
/* first read the type info of the first argument: must be string */
DLT_MSG_READ_VALUE(type_info_tmp, ptr, datalength, uint32_t);