summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-03-06 01:43:37 +0000
committerRoger Dingledine <arma@torproject.org>2004-03-06 01:43:37 +0000
commit6c9d78b319dd883afd17d29829b3bdc017b07189 (patch)
tree7eb91a290f51f3f9ea99d0b5261db4bd74f9bf02 /src/or/main.c
parent1e5b7bc6f1ad8c2d419f6e4a78b314ae3480033e (diff)
downloadtor-6c9d78b319dd883afd17d29829b3bdc017b07189.tar.gz
tor-6c9d78b319dd883afd17d29829b3bdc017b07189.zip
stop asserting that computers always go forward in time
it's simply not true svn:r1236
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 18e643bb1b..0a74d44747 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -247,7 +247,7 @@ static void conn_close_if_marked(int i) {
retval = flush_buf_tls(conn->tls, conn->outbuf, &conn->outbuf_flushlen);
/* XXX actually, some non-zero results are maybe ok. which ones? */
} else
- retval = -1;
+ retval = -1; /* never flush non-open broken tls connections */
} else {
retval = flush_buf(conn->s, conn->outbuf, &conn->outbuf_flushlen);
}