]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
and another
authorRoger Dingledine <arma@torproject.org>
Tue, 9 Nov 2004 06:03:20 +0000 (06:03 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 9 Nov 2004 06:03:20 +0000 (06:03 +0000)
svn:r2727

src/or/config.c

index bd777a5a92783656c6475dd77545654b7baeba0a..bae96a9e18aa5514f9da81e06e2c1965d40ae347 100644 (file)
@@ -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));