]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix spelling and an unused #define
authorSebastian Hahn <sebastian@torproject.org>
Mon, 7 Feb 2011 15:15:02 +0000 (16:15 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Mon, 7 Feb 2011 15:16:10 +0000 (16:16 +0100)
both noticed by rransom

src/or/rephist.c

index 1bbfe310f333f4a40422c751d9cc4a0b581b6632..28699901fa334d1f3323d4faf962e3199048c799 100644 (file)
@@ -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);