Discovered by Kevin Bauer. Fixes bug 5373; bugfix on 0.2.3.9-alpha,
where task 4552 added support for two layers of torrc files.
--- /dev/null
+ o Major bugfixes:
+ - Stop discarding command-line arguments when TestingTorNetwork
+ is set. Discovered by Kevin Bauer. Fixes bug 5373; bugfix on
+ 0.2.3.9-alpha, where task 4552 added support for two layers of
+ torrc files.
if (i==0)
newdefaultoptions = options_dup(&options_format, newoptions);
}
+ /* Assign command-line variables a second time too */
+ retval = config_assign(&options_format, newoptions,
+ global_cmdline_options, 0, 0, msg);
+ if (retval < 0) {
+ err = SETOPT_ERR_PARSE;
+ goto err;
+ }
}
/* Validate newoptions */