tor/changes/ticket32994
MrSquanchee 1a9cbc5bb4
Get all default flags from port_cfg_new()
Now port_cfg_new() returns all default flags and
port_parse_config() acts on defaults returned by port_cfg_new()
that is uses the default port_cfg_t object returned by port_cfg_new()
and modifies them later according to the port specifications in
configuration files
Might close tor#32994.
2020-03-14 20:18:42 +10:00

9 lines
366 B
Plaintext

o Code simplification and refactoring:
- port_new_cfg() returns default object with reasonable values.
- port_parse_config() uses this default object instead of
temporary variables.
- Files changed -> src/app/config/config.c
- Functions changed -> port_new_cfg() and port_parse_config()
- Closes ticket 32994.
- Patch by MrSquanchee