aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_ap.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-03-19 21:59:07 +0000
committerNick Mathewson <nickm@torproject.org>2003-03-19 21:59:07 +0000
commita528ee2d8fa6ed19d943e5a701611f7bb5f07efc (patch)
treebb01cd19f8f20ef7a540d4fa8cc416ddc4aebc1f /src/or/connection_ap.c
parent7f7417cd299b7f8fd7f696f34183cbd6286454cf (diff)
downloadtor-a528ee2d8fa6ed19d943e5a701611f7bb5f07efc.tar.gz
tor-a528ee2d8fa6ed19d943e5a701611f7bb5f07efc.zip
Be clear about whether we are using half-open connections
svn:r204
Diffstat (limited to 'src/or/connection_ap.c')
-rw-r--r--src/or/connection_ap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_ap.c b/src/or/connection_ap.c
index 7df901a610..0faba3895f 100644
--- a/src/or/connection_ap.c
+++ b/src/or/connection_ap.c
@@ -450,7 +450,7 @@ int connection_ap_process_data_cell(cell_t *cell, circuit_t *circ) {
for(prevconn = circ->p_conn; prevconn->next_topic != conn; prevconn = prevconn->next_topic) ;
prevconn->next_topic = conn->next_topic;
#endif
-#if 0
+#ifdef HALF_OPEN
conn->done_sending = 1;
shutdown(conn->s, 1); /* XXX check return; refactor NM */
if (conn->done_receiving)