summaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-06-21 10:35:35 -0400
committerNick Mathewson <nickm@torproject.org>2017-06-21 10:35:35 -0400
commitacf65544bb0cb0473d1f846985ae2807123fbbbd (patch)
tree0ff7ff72bd03dd0f72ad26b8c5974f6eedbe2be2 /src/or/control.c
parent417d778652770a8f4b0b6f8e5d8e139e193b8b1e (diff)
downloadtor-acf65544bb0cb0473d1f846985ae2807123fbbbd.tar.gz
tor-acf65544bb0cb0473d1f846985ae2807123fbbbd.zip
Fix compilation on 1667 code.
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 3e31f17248..ee9a3ae29b 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -4928,7 +4928,7 @@ connection_control_process_inbuf(control_connection_t *conn)
}
/* If the user has the HTTP proxy port and the control port confused. */
- if (conn->_base.state == CONTROL_CONN_STATE_NEEDAUTH &&
+ if (conn->base_.state == CONTROL_CONN_STATE_NEEDAUTH &&
peek_connection_has_http_command(TO_CONN(conn))) {
connection_write_str_to_buf("HTTP/1.0 501 Tor ControlPort is not a proxy"
"\r\nContent-Type: text/html; charset=iso-8859-1\r\n\r\n"