summaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r--src/or/entrynodes.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index 866e593350..826c0e48a0 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -3136,9 +3136,12 @@ entry_list_is_constrained(const or_options_t *options)
/** Return the number of bridges that have descriptors that are marked with
* purpose 'bridge' and are running.
- */
-int
-num_bridges_usable(void)
+ *
+ * We use this function to decide if we're ready to start building
+ * circuits through our bridges, or if we need to wait until the
+ * directory "server/authority" requests finish. */
+MOCK_IMPL(int,
+num_bridges_usable,(void))
{
int n_options = 0;