Commit f4904a6d authored by Joseph Noir's avatar Joseph Noir

Fix config-file option

parent 75289746
......@@ -373,7 +373,7 @@ void actor_system_config::extract_config_file_path(string_list& args) {
});
if (i == last)
return;
auto arg_begin = i->begin() + sizeof(needle);
auto arg_begin = i->begin() + strlen(needle);
auto arg_end = i->end();
if (arg_begin == arg_end) {
// Missing value.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment