diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-01-24 00:43:52 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-01-24 00:43:52 +0000 |
commit | 792f81921209bc44cb032dd768453fd31e0a6d54 (patch) | |
tree | e62656e97e8fb7d16ae3dafc8422faded66beffa /src | |
parent | 2522c392bdf02153755d63b45eedfcfe6c6282fd (diff) | |
download | tor-792f81921209bc44cb032dd768453fd31e0a6d54.tar.gz tor-792f81921209bc44cb032dd768453fd31e0a6d54.zip |
r11285@catbus: nickm | 2007-01-23 19:43:50 -0500
More documentation. (Again, trying to see whether I have buildbot working).
svn:r9394
Diffstat (limited to 'src')
-rw-r--r-- | src/or/circuitbuild.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 579b202f95..73960fec49 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -1921,10 +1921,18 @@ log_entry_guards(int severity) tor_free(s); } -/** DOCDOC */ +/** Called when one or more guards that we would previously have used for some + * purpose are no longer in use because a higher-priority guard has become + * useable again. */ static void control_event_guard_deferred(void) { + /* XXXX We don't actually have a good way to figure out _how many_ entries + * are live for some purpose. We need an entry_is_even_slightly_live() + * function for this to work right. NumEntryGuards isn't reliable: if we + * need guards with weird properties, we can have more than that number + * live. + **/ #if 0 int n = 0; or_options_t *options = get_options(); |