diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-22 14:16:23 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-22 14:24:09 -0400 |
commit | 6bc2b41e54976abdafb464128890ae23584aeed7 (patch) | |
tree | f22d0e2435fa928554d515a3ddb66e765a07f17a /src/test/test_confparse.c | |
parent | 3656fdae98ff964447a8a8a5cf3d44985e264c7f (diff) | |
download | tor-6bc2b41e54976abdafb464128890ae23584aeed7.tar.gz tor-6bc2b41e54976abdafb464128890ae23584aeed7.zip |
config validation: make the "old_options" argument const.
We can't do this with the "options" argument yet, since several
places in the code change those right now.
Diffstat (limited to 'src/test/test_confparse.c')
-rw-r--r-- | src/test/test_confparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_confparse.c b/src/test/test_confparse.c index cfdcd34c3a..890c95d1c4 100644 --- a/src/test/test_confparse.c +++ b/src/test/test_confparse.c @@ -103,7 +103,7 @@ static config_deprecation_t test_deprecation_notes[] = { }; static int -test_validate_cb(void *old_options, void *options, char **msg) +test_validate_cb(const void *old_options, void *options, char **msg) { (void)old_options; (void)msg; |