Fix an assertion failure introduced in 20254907d7

Fixes bug 16829; bug not in any released Tor.
This commit is contained in:
Nick Mathewson 2015-08-17 09:50:47 -04:00
parent fd16a2b56f
commit 2691b2bb06

View File

@ -62,7 +62,7 @@ static uint32_t
dirserv_get_status_impl(const char *fp, const char *nickname,
uint32_t addr, uint16_t or_port,
const char *platform, const char **msg,
int should_log);
int severity);
static void clear_cached_dir(cached_dir_t *d);
static const signed_descriptor_t *get_signed_descriptor_by_fp(
const char *fp,
@ -290,7 +290,7 @@ dirserv_router_get_status(const routerinfo_t *router, const char **msg,
return dirserv_get_status_impl(d, router->nickname,
router->addr, router->or_port,
router->platform, msg, 1);
router->platform, msg, severity);
}
/** Return true if there is no point in downloading the router described by