summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-04-11 02:52:09 +0000
committerNick Mathewson <nickm@torproject.org>2005-04-11 02:52:09 +0000
commitf1dfa3006445c2c109ab5b381facfd40110d6e2d (patch)
tree5cda32b47073711bdba68adf930b8774b5dad8c9
parentae66c97b518df947a034dc112cd38b5b828548bd (diff)
downloadtor-f1dfa3006445c2c109ab5b381facfd40110d6e2d.tar.gz
tor-f1dfa3006445c2c109ab5b381facfd40110d6e2d.zip
Fix postdescriptor behavior: on non-complete success, only say "done" once.
svn:r4073
-rw-r--r--src/or/control.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index d85d315067..d5d0cf7eb1 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -834,10 +834,9 @@ handle_control_postdescriptor(connection_t *conn, uint32_t len,
break;
case 1:
send_control_done(conn);
- return 0;
+ break;
}
- send_control_done(conn);
return 0;
}
static int