summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-12-09 05:37:26 +0000
committerNick Mathewson <nickm@torproject.org>2005-12-09 05:37:26 +0000
commit39265dd72e9285ea61a0d2a16d7e80050ced546e (patch)
tree1affb9adb311c31f0c4e4613653940713655c21c /src/or/control.c
parent95e471c9a65f36776cb1fb9ccbcef4890640d7f4 (diff)
downloadtor-39265dd72e9285ea61a0d2a16d7e80050ced546e.tar.gz
tor-39265dd72e9285ea61a0d2a16d7e80050ced546e.zip
In my private little universe, terminals are still 80 columns. Impose a 160-character-per-line limit; this will creep down.
svn:r5548
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 94a4ca14b5..d11aa02b62 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -985,7 +985,10 @@ handle_control_authenticate(connection_t *conn, uint32_t len, const char *body)
++i;
password = tor_malloc(i/2 + 1);
if (base16_decode(password, i/2+1, body, i)<0) {
- connection_write_str_to_buf("551 Invalid hexadecimal encoding. Maybe you tried a plain text password? If so, the standard requires you put it in double quotes.\r\n", conn);
+ connection_write_str_to_buf(
+ "551 Invalid hexadecimal encoding. Maybe you tried a plain text "
+ "password? If so, the standard requires you put it in double "
+ "quotes.\r\n", conn);
tor_free(password);
return 0;
}
@@ -1031,7 +1034,9 @@ handle_control_authenticate(connection_t *conn, uint32_t len, const char *body)
if (used_quoted_string)
connection_write_str_to_buf("515 Authentication failed\r\n", conn);
else
- connection_write_str_to_buf("515 Authentication failed. Maybe you tried a plain text password? If so, the standard requires you put it in double quotes.\r\n", conn);
+ connection_write_str_to_buf(
+ "515 Authentication failed. Maybe you tried a plain text password? "
+ "If so, the standard requires you put it in double quotes.\r\n",conn);
}
return 0;
ok: