summaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2011-02-07 16:15:02 +0100
committerSebastian Hahn <sebastian@torproject.org>2011-02-07 16:16:10 +0100
commita68e2043aba4d33e39a8cb47be5dc3082f27ad07 (patch)
tree6bfe1bfde4fc446f0c99510cdb4a3f22d880b0ff /src/or/rephist.c
parent59a3d536d80d49da956d5e4e0c59a97164e1f9c4 (diff)
downloadtor-a68e2043aba4d33e39a8cb47be5dc3082f27ad07.tar.gz
tor-a68e2043aba4d33e39a8cb47be5dc3082f27ad07.zip
Fix spelling and an unused #define
both noticed by rransom
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 1bbfe310f3..28699901fa 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -75,7 +75,7 @@ typedef struct or_history_t {
time_t down_since;
/** The address at which we most recently connected to this OR
- * sucessfully. */
+ * successfully. */
tor_addr_t last_reached_addr;
/* === For MTBF tracking: */
@@ -329,7 +329,6 @@ rep_hist_note_router_reachable(const char *id, const tor_addr_t *at_addr,
} else if (addr_changed) {
/* If we're reachable, but the address changed, treat this as some
* downtime. */
-#define MIN_DOWNTIME_FOR_ADDR_CHANGE 600
int penalty = get_options()->TestingTorNetwork ? 240 : 3600;
networkstatus_t *ns;
tor_assert(at_addr);