diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-16 11:51:02 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-22 19:43:07 -0400 |
commit | 47163780c3682d881ad6e8044320a57fce439ea1 (patch) | |
tree | dcc67e42a02501a6f07d5e6090b610927eb535ad /src/or/control.c | |
parent | 0f3d73a2d0ef22d51183768308887d0271ef20f0 (diff) | |
download | tor-47163780c3682d881ad6e8044320a57fce439ea1.tar.gz tor-47163780c3682d881ad6e8044320a57fce439ea1.zip |
Rename node_has_descriptor() to node_has_any_descriptor()
Changing the name of this function should help keep us from misusing
it when node_has_preferred_descriptor() would be more appropriate.
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c index fa62e9dbde..f87a0ca486 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -3498,7 +3498,7 @@ handle_control_extendcircuit(control_connection_t *conn, uint32_t len, connection_printf_to_buf(conn, "552 No such router \"%s\"\r\n", n); goto done; } - if (!node_has_descriptor(node)) { + if (!node_has_any_descriptor(node)) { connection_printf_to_buf(conn, "552 No descriptor for \"%s\"\r\n", n); goto done; } |