aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-05 21:39:51 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-05 21:39:51 +0000
commit7dc70c2405e02e121c445e9d9970534e3236562a (patch)
tree69a4e6e291b2acefa32afb7d6191938cf3928f35
parentfac2cd3b03379f68f0256d28658b03d1b2b38194 (diff)
downloadtor-7dc70c2405e02e121c445e9d9970534e3236562a.tar
tor-7dc70c2405e02e121c445e9d9970534e3236562a.tar.gz
r17917@catbus: nickm | 2008-02-05 16:38:15 -0500
Oops; fix compilation of control.c svn:r13391
-rw-r--r--src/or/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 318da73e8..a8f10aa48 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -1715,7 +1715,7 @@ getinfo_helper_events(control_connection_t *control_conn,
tor_snprintf(s, sizeof(s), "%d", get_n_authorities(V3_AUTHORITY));
*answer = tor_strdup(s);
log_warn(LD_GENERAL, "%s is deprecated; it no longer gives useful "
- "information");
+ "information", question);
}
} else {
return 0;
@@ -2685,7 +2685,7 @@ connection_control_process_inbuf(control_connection_t *conn)
return 0;
else if (r == -1) {
if (data_len + conn->incoming_cmd_cur_len > MAX_COMMAND_LINE_LENGTH) {
- connection_write_str_to_buf("500 Line too long.\r\n", TO_CONN(conn));
+ connection_write_str_to_buf("500 Line too long.\r\n", conn);
connection_stop_reading(TO_CONN(conn));
connection_mark_for_close(TO_CONN(conn));
conn->_base.hold_open_until_flushed = 1;