Unverified Commit d8022647 authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #841

Fix --config-file option, close #840.
parents 75289746 f4904a6d
...@@ -373,7 +373,7 @@ void actor_system_config::extract_config_file_path(string_list& args) { ...@@ -373,7 +373,7 @@ void actor_system_config::extract_config_file_path(string_list& args) {
}); });
if (i == last) if (i == last)
return; return;
auto arg_begin = i->begin() + sizeof(needle); auto arg_begin = i->begin() + strlen(needle);
auto arg_end = i->end(); auto arg_end = i->end();
if (arg_begin == arg_end) { if (arg_begin == arg_end) {
// Missing value. // 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