summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-11-09 06:03:20 +0000
committerRoger Dingledine <arma@torproject.org>2004-11-09 06:03:20 +0000
commit3c6b6a53a9a2977a1db1a25010e12d8f436c10a3 (patch)
tree686075fdc6a51fbdaa3efd6f60c75a3ce6215cae /src
parent5c2278aea84efc6fa6a4f531b2a5d889d3dff6b8 (diff)
downloadtor-3c6b6a53a9a2977a1db1a25010e12d8f436c10a3.tar.gz
tor-3c6b6a53a9a2977a1db1a25010e12d8f436c10a3.zip
and another
svn:r2727
Diffstat (limited to 'src')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index bd777a5a92..bae96a9e18 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -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));