tor/changes/bug13718-make-nodelist-args-readable
teor d812baf54c 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 (hopefully) resolves nickm's request in bug 13718 to improve
argument readability in nodelist.c.
2014-12-30 09:06:00 -05:00

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.