Make options_validate() no longer use its "defaults" argument.

It can just look at what the defaults are.

Closes ticket 32185.
This commit is contained in:
Nick Mathewson
2019-10-22 08:27:13 -04:00
parent a1d5341374
commit 8d84e10e87
2 changed files with 14 additions and 3 deletions
+4
View File
@@ -0,0 +1,4 @@
o Code simplification and refactoring:
- Simplify the options_validate() code so that it looks at the default
options directly, rather than taking default options as an argument.
This change lets us simplify its interface. Closes ticket 32185.