From cb7a0093acd837d19d777d7f17ae55e7ea2b6425 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 22 Jul 2004 21:20:23 +0000 Subject: [PATCH] Add noisy debug log to hunt for bug in router_update_status_from_smartlist svn:r2107 --- trunk/src/or/routerlist.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/trunk/src/or/routerlist.c b/trunk/src/or/routerlist.c index bd445602ad..5b3d81890f 100644 --- a/trunk/src/or/routerlist.c +++ b/trunk/src/or/routerlist.c @@ -831,8 +831,27 @@ void router_update_status_from_smartlist(routerinfo_t *router, { int n_names, i, running, approved; const char *name; - running = approved = 0; +#if 1 + char *cp; + int n; + n = 0; + for (i=0; inickname, cp); + tor_free(cp); +#endif + running = approved = 0; n_names = smartlist_len(running_list); for (i=0; i