Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fdfd082 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix failing ConfigTest"

parents 1c742029 7d33843f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ int config_get_int(const config_t& config, const std::string& section,
  if (!entry) return def_value;

  size_t endptr;
  int ret = stoi(entry->value, &endptr);
  int ret = stoi(entry->value, &endptr, 0);
  return (endptr == entry->value.size()) ? ret : def_value;
}