mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 02:09:24 +01:00
d812baf54c
count_usable_descriptors now uses named exit_only values: USABLE_DESCRIPTOR_ALL USABLE_DESCRIPTOR_EXIT_ONLY Add debug logging code for descriptor counts. This (hopefully) resolves nickm's request in bug 13718 to improve argument readability in nodelist.c.
9 lines
371 B
Plaintext
9 lines
371 B
Plaintext
o Minor refactoring:
|
|
- Refactor count_usable_descriptors to use named enums for exit_only.
|
|
count_usable_descriptors now uses named exit_only values:
|
|
* USABLE_DESCRIPTOR_ALL
|
|
* USABLE_DESCRIPTOR_EXIT_ONLY
|
|
- Add debug logging code for descriptor counts.
|
|
This resolves nickm's request in bug 13718 to improve argument
|
|
readability.
|