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/lib/confmgt | |
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/lib/confmgt')
-rw-r--r-- | src/lib/confmgt/confparse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/confmgt/confparse.h b/src/lib/confmgt/confparse.h index 628eb8927e..8d7278cb04 100644 --- a/src/lib/confmgt/confparse.h +++ b/src/lib/confmgt/confparse.h @@ -68,7 +68,7 @@ typedef struct config_deprecation_t { * config_dump(); later in our refactoring, it will be cleaned up and used * more generally. */ -typedef int (*validate_fn_t)(void *oldval, +typedef int (*validate_fn_t)(const void *oldval, void *newval, char **msg_out); |