summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2016-05-11 13:03:49 -0400
committerRoger Dingledine <arma@torproject.org>2016-05-11 13:03:49 -0400
commitb8b5bccfd9f350cd796a8bcd6b79b9d303a79e11 (patch)
tree55c2051ac831466d38cb6d2c6b8aa47deb097363 /src/or/circuituse.c
parentc2817774c28a40f76890b68775097596d14e035e (diff)
downloadtor-b8b5bccfd9f350cd796a8bcd6b79b9d303a79e11.tar.gz
tor-b8b5bccfd9f350cd796a8bcd6b79b9d303a79e11.zip
refactor the #19003 patches
fix the logic in one of the comments
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index fa6c666ea1..a4b580104f 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -1677,7 +1677,7 @@ circuit_launch(uint8_t purpose, int flags)
/* Do we have enough descriptors to build paths?
* If need_exit is true, return 1 if we can build exit paths.
* (We need at least one Exit in the consensus to build exit paths.)
- * If need_exit is false, return 0 if we can build internal paths.
+ * If need_exit is false, return 1 if we can build internal paths.
*/
static int
have_enough_path_info(int need_exit)