diff options
author | Mike Perry <mikeperry-git@fscked.org> | 2012-12-09 20:18:31 -0800 |
---|---|---|
committer | Mike Perry <mikeperry-git@fscked.org> | 2012-12-09 20:24:22 -0800 |
commit | a90f165b83bc1603873308d7918e99057afdf72a (patch) | |
tree | 448a417e48f16ef608fc78a6284ad1cd90d21c22 /src/or/or.h | |
parent | 04866055e8dadc9eb5b09773b3bbdc81e3b4dbbf (diff) | |
download | tor-a90f165b83bc1603873308d7918e99057afdf72a.tar.gz tor-a90f165b83bc1603873308d7918e99057afdf72a.zip |
Rename first_hop to circ_attempt.
Since we've generalized what we can count from (first or second hop), we
should generalize the variable and constant naming too.
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h index c8ea12f2c8..aaf817d450 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2765,9 +2765,9 @@ typedef enum { /** This circuit is "new". It has not yet completed a first hop * or been counted by the path bias code. */ PATH_STATE_NEW_CIRC = 0, - /** This circuit has completed a first hop, and has been counted by + /** This circuit has completed one/two hops, and has been counted by * the path bias logic. */ - PATH_STATE_DID_FIRST_HOP = 1, + PATH_STATE_BUILD_ATTEMPTED = 1, /** This circuit has been completely built */ PATH_STATE_BUILD_SUCCEEDED = 2, /** Did any SOCKS streams or hidserv introductions actually succeed on |