[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r11018: a patch on r11016 that makes it work better (tor/trunk/src/or)
Author: arma
Date: 2007-08-02 00:28:29 -0400 (Thu, 02 Aug 2007)
New Revision: 11018
Modified:
tor/trunk/src/or/control.c
Log:
a patch on r11016 that makes it work better
Modified: tor/trunk/src/or/control.c
===================================================================
--- tor/trunk/src/or/control.c 2007-08-02 01:29:53 UTC (rev 11017)
+++ tor/trunk/src/or/control.c 2007-08-02 04:28:29 UTC (rev 11018)
@@ -2443,8 +2443,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")) {