aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-08-02 04:28:29 +0000
committerRoger Dingledine <arma@torproject.org>2007-08-02 04:28:29 +0000
commit659cdae145557331666380b627c19d330a3e0c7d (patch)
tree9f3959b997ffdeb40d23bad9c20f1a64092c1f75 /src/or
parent322b6f7e65d1f923130bf2eed09fcc2af6bdcae7 (diff)
downloadtor-659cdae145557331666380b627c19d330a3e0c7d.tar
tor-659cdae145557331666380b627c19d330a3e0c7d.tar.gz
a patch on r11016 that makes it work better
svn:r11018
Diffstat (limited to 'src/or')
-rw-r--r--src/or/control.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 2a95234b5..4f451f523 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -2443,8 +2443,7 @@ connection_control_process_inbuf(control_connection_t *conn)
strcasecmp(conn->incoming_cmd, "AUTHENTICATE")) {
connection_write_str_to_buf("514 Authentication required.\r\n", conn);
connection_mark_for_close(TO_CONN(conn));
- conn->incoming_cmd_cur_len = 0;
- goto again;
+ return 0;
}
if (!strcasecmp(conn->incoming_cmd, "SETCONF")) {