[or-cvs] fix an error in reporting why we abandoned a helper node
arma at seul.org
arma at seul.org
Sun Dec 11 11:20:28 UTC 2005
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);
More information about the tor-commits
mailing list