summaryrefslogtreecommitdiff
path: root/src/or/statefile.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-08-03 12:52:26 -0400
committerNick Mathewson <nickm@torproject.org>2016-08-03 12:52:26 -0400
commitf5dcab8072e4f8471cc0d4d8a28c79272467fb92 (patch)
treeb5ea4d3611c535bd5c617b06dcab4595f6adc3e1 /src/or/statefile.c
parentf3314aa6e1e307467a684f1477e2af1568a728b6 (diff)
downloadtor-f5dcab8072e4f8471cc0d4d8a28c79272467fb92.tar.gz
tor-f5dcab8072e4f8471cc0d4d8a28c79272467fb92.zip
Add new warn_deprecated option to config_assign*().
Also, collapse all the config_assign*() options into a flags argument, since having two boolean arguments was already confusing.
Diffstat (limited to 'src/or/statefile.c')
-rw-r--r--src/or/statefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/statefile.c b/src/or/statefile.c
index c2f31d69e5..adf9d9f038 100644
--- a/src/or/statefile.c
+++ b/src/or/statefile.c
@@ -350,7 +350,7 @@ or_state_load(void)
if (config_get_lines(contents, &lines, 0)<0)
goto done;
assign_retval = config_assign(&state_format, new_state,
- lines, 0, 0, &errmsg);
+ lines, 0, &errmsg);
config_free_lines(lines);
if (assign_retval<0)
badstate = 1;