]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
a patch on r11016 that makes it work better
authorRoger Dingledine <arma@torproject.org>
Thu, 2 Aug 2007 04:28:29 +0000 (04:28 +0000)
committerRoger Dingledine <arma@torproject.org>
Thu, 2 Aug 2007 04:28:29 +0000 (04:28 +0000)
svn:r11018

src/or/control.c

index 2a95234b5c36bf45806381c2bf8fc392b9c0d4f1..4f451f523a54204392b602b9808981c636b86f07 100644 (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")) {