[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r11019: backport r11018 (tor/branches/tor-0_1_2-patches/src/or)



Author: arma
Date: 2007-08-02 00:30:32 -0400 (Thu, 02 Aug 2007)
New Revision: 11019

Modified:
   tor/branches/tor-0_1_2-patches/src/or/control.c
Log:
backport r11018


Modified: tor/branches/tor-0_1_2-patches/src/or/control.c
===================================================================
--- tor/branches/tor-0_1_2-patches/src/or/control.c	2007-08-02 04:28:29 UTC (rev 11018)
+++ tor/branches/tor-0_1_2-patches/src/or/control.c	2007-08-02 04:30:32 UTC (rev 11019)
@@ -2822,8 +2822,7 @@
       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")) {