[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] fix an error in reporting why we abandoned a helper node
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
circuitbuild.c
Log Message:
fix an error in reporting why we abandoned a helper node
Index: circuitbuild.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuitbuild.c,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -d -r1.175 -r1.176
--- circuitbuild.c 11 Dec 2005 11:20:01 -0000 1.175
+++ circuitbuild.c 11 Dec 2005 11:20:26 -0000 1.176
@@ -1756,7 +1756,7 @@
since = helper->unlisted_since;
} else if (helper->down_since + HELPER_ALLOW_DOWNTIME > now) {
why = "down";
- since = helper->unlisted_since;
+ since = helper->down_since;
}
if (why) {
base16_encode(dbuf, sizeof(dbuf), helper->identity, DIGEST_LEN);