]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix an assertion failure introduced in 20254907d7
authorNick Mathewson <nickm@torproject.org>
Mon, 17 Aug 2015 13:50:47 +0000 (09:50 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 17 Aug 2015 13:51:50 +0000 (09:51 -0400)
Fixes bug 16829; bug not in any released Tor.

src/or/dirserv.c

index e70b1b422d1b8e39294e674049205cee126d6e8f..8eeba5437466ca1d414e642429e9f616129ac37a 100644 (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