diff options
author | Roger Dingledine <arma@torproject.org> | 2007-08-02 04:30:32 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-08-02 04:30:32 +0000 |
commit | 0247ed481b8f8a852e514986314f116218b21cd8 (patch) | |
tree | c12bf416dbbd24fdaa26239cb2be214bbc0c0408 /src | |
parent | b80048a65e3f8676e645f4e4b338de8e5db81337 (diff) | |
download | tor-0247ed481b8f8a852e514986314f116218b21cd8.tar.gz tor-0247ed481b8f8a852e514986314f116218b21cd8.zip |
backport r11018
svn:r11019
Diffstat (limited to 'src')
-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 4baf9f6289..84e0788b43 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -2822,8 +2822,7 @@ connection_control_process_inbuf_v1(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")) { |