summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYusuke Sato <yusuke-sato@apn.alpine.co.jp>2018-05-08 15:45:56 +0900
committerChristoph Lipka <clipka@users.noreply.github.com>2018-05-08 08:45:56 +0200
commit6e19bc70f05997413a33cee3d6b7c7e4f5834a20 (patch)
tree5058a43d4c28028ea104ef2ba1c27caa83c46c70 /src
parentd04759134b4a8d9941dc1b3157f75a4322bf70da (diff)
downloadDLT-daemon-6e19bc70f05997413a33cee3d6b7c7e4f5834a20.tar.gz
dlt-daemon: Fix infinite loop on set log level using wildcards (#55)
dlt-daemon entered to infinite loop when set log level request with wildcards came from dlt-control due to variable size. Signed-off-by: Yusuke Sato <yusuke-sato@apn.alpine.co.jp>
Diffstat (limited to 'src')
-rw-r--r--src/daemon/dlt_daemon_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/dlt_daemon_client.c b/src/daemon/dlt_daemon_client.c
index 48f38ad..e526bf0 100644
--- a/src/daemon/dlt_daemon_client.c
+++ b/src/daemon/dlt_daemon_client.c
@@ -1584,7 +1584,7 @@ void dlt_daemon_find_multiple_context_and_send(int sock, DltDaemon *daemon, DltD
{
PRINT_FUNCTION_VERBOSE(verbose);
- int8_t count = 0;
+ int count = 0;
DltDaemonContext *context = NULL;
char src_str[DLT_ID_SIZE +1] = {0};
int8_t ret = 0;