summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 45e7046026..120eb236e8 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1438,7 +1438,7 @@ config_dump(config_format_t *fmt, void *options, int minimal)
defaults = config_alloc(fmt);
config_init(fmt, defaults);
- fmt->validate_fn(options);
+ fmt->validate_fn(defaults);
elements = smartlist_create();
for (i=0; fmt->vars[i].name; ++i) {