a patch on r11016 that makes it work better

svn:r11018
This commit is contained in:
Roger Dingledine 2007-08-02 04:28:29 +00:00
parent 322b6f7e65
commit 659cdae145

View File

@ -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")) {