From 8be0e034fdf2f23ab30e9cca5f93bb319643fef1 Mon Sep 17 00:00:00 2001 From: Christoph Muellner Date: Wed, 26 Jun 2019 14:39:57 +0200 Subject: [PATCH] parse_parameter: Continue parsing after 'mtdparts'. The parse_paramter loop iterates over a parameter.txt file's contents and parses that line-by-line. However, the current implementation silently stops after parsing 'mtdparts'. This is problematic if a 'uuid' token is found in one of the following lines. This patch addresses the problem, by simply continue to iterate over the next lines after 'mtdparts'. Signed-off-by: Christoph Muellner --- main.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/main.cpp b/main.cpp index f09e181..af3d185 100644 --- a/main.cpp +++ b/main.cpp @@ -483,7 +483,6 @@ bool parse_parameter(char *pParameter, PARAM_ITEM_VECTOR &vecItem, CONFIG_ITEM_V vecItem.push_back(item); } } - break; } return bFind;