mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
and another
svn:r2727
This commit is contained in:
parent
5c2278aea8
commit
3c6b6a53a9
@ -565,7 +565,7 @@ config_get_assigned_option(or_options_t *options, const char *key)
|
||||
if (var->type == CONFIG_TYPE_LINELIST ||
|
||||
var->type == CONFIG_TYPE_LINELIST_V) {
|
||||
/* Linelist requires special handling: we just copy and return it. */
|
||||
const struct config_line_t *next_in = value;
|
||||
const struct config_line_t *next_in = *(const struct config_line_t**)value;
|
||||
struct config_line_t **next_out = &result;
|
||||
while (next_in) {
|
||||
*next_out = tor_malloc(sizeof(struct config_line_t));
|
||||
|
Loading…
Reference in New Issue
Block a user