aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-08-15 15:36:34 +0000
committerRoger Dingledine <arma@torproject.org>2007-08-15 15:36:34 +0000
commit7e5cee81108b76b4a9e6f23c167493f20c126559 (patch)
tree40ed21db81321bee39d393ed9f8e62538a19204d /src/or/control.c
parentf606d74f56ec13a21ea63f2c1b1e59bdc63f20b0 (diff)
downloadtor-7e5cee81108b76b4a9e6f23c167493f20c126559.tar
tor-7e5cee81108b76b4a9e6f23c167493f20c126559.tar.gz
this does not actually change anything (i hope), but it makes me a lot
more comfortable. nick, can you confirm this? svn:r11119
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/control.c b/src/or/control.c
index c38bfa4cb..1a91562ad 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -988,7 +988,7 @@ handle_control_authenticate(control_connection_t *conn, uint32_t len,
used_quoted_string = 1;
}
- if (options->CookieAuthentication && authentication_cookie_is_set) {
+ if (options->CookieAuthentication) {
if (password_len != AUTHENTICATION_COOKIE_LEN) {
log_warn(LD_CONTROL, "Got authentication cookie with wrong length (%d)",
(int)password_len);