Skip to content

Commit

Permalink
make sure to parse the whole config line
Browse files Browse the repository at this point in the history
  • Loading branch information
CaCO3 committed Mar 12, 2023
1 parent 512d7f9 commit ad8dd71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/components/jomjol_time_sntp/time_sntp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ bool setupTime() {

while (configFile.getNextLine(&line, disabledLine, eof) &&
!configFile.isNewParagraph(line)) {
splitted = ZerlegeZeile(line);
splitted = ZerlegeZeile(line, "=");

if (toUpper(splitted[0]) == "TIMEZONE") {
timeZone = splitted[1];
Expand Down

0 comments on commit ad8dd71

Please sign in to comment.