aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-09-08 20:25:57 +0000
committerNick Mathewson <nickm@torproject.org>2007-09-08 20:25:57 +0000
commit565f5f32c5ab44bcffdc921d6e804a9f509d49d6 (patch)
tree8fa56d0b754911921d3538c587b35eb085ed7e88 /src/or/control.c
parent509bc3b4a055c9bee80d943111e01cf031db81f8 (diff)
downloadtor-565f5f32c5ab44bcffdc921d6e804a9f509d49d6.tar.gz
tor-565f5f32c5ab44bcffdc921d6e804a9f509d49d6.zip
r14363@Kushana: nickm | 2007-09-08 16:25:45 -0400
Another round of whitespeace fixes. svn:r11407
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 83e5f70cbc..be2e360989 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -995,8 +995,8 @@ handle_control_authenticate(control_connection_t *conn, uint32_t len,
int also_password = options->HashedControlPassword != NULL;
if (password_len != AUTHENTICATION_COOKIE_LEN) {
if (!also_password) {
- log_warn(LD_CONTROL, "Got authentication cookie with wrong length (%d)",
- (int)password_len);
+ log_warn(LD_CONTROL, "Got authentication cookie with wrong length "
+ "(%d)", (int)password_len);
errstr = "Wrong length on authentication cookie.";
goto err;
}
@@ -1021,7 +1021,7 @@ handle_control_authenticate(control_connection_t *conn, uint32_t len,
if (!also_cookie) {
log_warn(LD_CONTROL,
"Couldn't decode HashedControlPassword: invalid base16");
- errstr ="Couldn't decode HashedControlPassword value in configuration.";
+ errstr="Couldn't decode HashedControlPassword value in configuration.";
}
bad_password = 1;
} else {
@@ -1290,7 +1290,6 @@ munge_extrainfo_into_routerinfo(const char *ri_body, signed_descriptor_t *ri,
return tor_strndup(ri_body, ri->signed_descriptor_len);
}
-
/** Implementation helper for GETINFO: knows the answers for questions about
* directory information. */
static int