Add a comment to have_enough_path_info()

Comment only change
This commit is contained in:
teor (Tim Wilson-Brown) 2016-05-09 14:26:13 -04:00
parent 01e7f42a09
commit 0c41ae1832
No known key found for this signature in database
GPG Key ID: 450CBA7F968F094B

View File

@ -1674,7 +1674,11 @@ circuit_launch(uint8_t purpose, int flags)
return circuit_launch_by_extend_info(purpose, NULL, flags); return circuit_launch_by_extend_info(purpose, NULL, flags);
} }
/* DOCDOC */ /* 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.
*/
static int static int
have_enough_path_info(int need_exit) have_enough_path_info(int need_exit)
{ {