diff options
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c index 8b94a56b88..0e3be24c91 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -61,9 +61,9 @@ static link_history_t *get_link_history(const char *from_name, */ static void update_or_history(or_history_t *hist, time_t when) { - assert(hist); + tor_assert(hist); if (hist->up_since) { - assert(!hist->down_since); + tor_assert(!hist->down_since); hist->uptime += (when - hist->up_since); hist->up_since = when; } else if (hist->down_since) { |