diff options
author | Roger Dingledine <arma@torproject.org> | 2012-04-01 15:59:38 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2012-04-01 15:59:38 -0400 |
commit | 5fed1ccd901d4751a3fed7dc01042771ca76f449 (patch) | |
tree | 75f46ddd04814a3e74b754236c262b5157ec49b7 /src/or/directory.c | |
parent | 40ab832c4e61bfddd26915e6208137b43329ae86 (diff) | |
download | tor-5fed1ccd901d4751a3fed7dc01042771ca76f449.tar.gz tor-5fed1ccd901d4751a3fed7dc01042771ca76f449.zip |
put a _ before or_options_t elements that aren't configurable
it's fine with me if we change the current convention, but we should
actually decide to change it if we want to.
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 9bc58e5b36..29cf10cea0 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -3069,7 +3069,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, } if (options->BridgeAuthoritativeDir && - options->BridgePassword_AuthDigest && + options->_BridgePassword_AuthDigest && connection_dir_is_encrypted(conn) && !strcmp(url,"/tor/networkstatus-bridges")) { char *status; @@ -3081,7 +3081,8 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers, /* now make sure the password is there and right */ if (!header || - tor_memneq(digest, options->BridgePassword_AuthDigest, DIGEST256_LEN)) { + tor_memneq(digest, + options->_BridgePassword_AuthDigest, DIGEST256_LEN)) { write_http_status_line(conn, 404, "Not found"); tor_free(header); goto done; |