diff options
author | Roger Dingledine <arma@torproject.org> | 2007-08-02 04:28:29 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-08-02 04:28:29 +0000 |
commit | 659cdae145557331666380b627c19d330a3e0c7d (patch) | |
tree | 9f3959b997ffdeb40d23bad9c20f1a64092c1f75 /src/or/control.c | |
parent | 322b6f7e65d1f923130bf2eed09fcc2af6bdcae7 (diff) | |
download | tor-659cdae145557331666380b627c19d330a3e0c7d.tar tor-659cdae145557331666380b627c19d330a3e0c7d.tar.gz |
a patch on r11016 that makes it work better
svn:r11018
Diffstat (limited to 'src/or/control.c')
-rw-r--r-- | src/or/control.c | 3 |
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")) { |