From 659cdae145557331666380b627c19d330a3e0c7d Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 2 Aug 2007 04:28:29 +0000 Subject: a patch on r11016 that makes it work better svn:r11018 --- src/or/control.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/or/control.c') 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")) { -- cgit v1.2.3