summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/dlt_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dlt_client.c b/src/lib/dlt_client.c
index 8a6595e..60a97f5 100644
--- a/src/lib/dlt_client.c
+++ b/src/lib/dlt_client.c
@@ -581,7 +581,7 @@ DltReturnValue dlt_client_send_log_level(DltClient *client, char *apid, char *ct
}
req = (DltServiceSetLogLevel *) payload;
-
+ memset(req, 0, sizeof(DltServiceSetLogLevel));
req->service_id = DLT_SERVICE_ID_SET_LOG_LEVEL;
dlt_set_id(req->apid,apid);
dlt_set_id(req->ctid,ctid);
@@ -656,7 +656,7 @@ DltReturnValue dlt_client_send_trace_status(DltClient *client, char *apid, char
}
req = (DltServiceSetLogLevel *) payload;
-
+ memset(req, 0, sizeof(DltServiceSetLogLevel));
req->service_id = DLT_SERVICE_ID_SET_TRACE_STATUS;
dlt_set_id(req->apid,apid);
dlt_set_id(req->ctid,ctid);