[or-cvs] and forward-port too.
arma at seul.org
arma at seul.org
Fri Jun 9 06:52:51 UTC 2006
Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or
Modified Files:
routerlist.c
Log Message:
and forward-port too.
Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.518
retrieving revision 1.519
diff -u -p -d -r1.518 -r1.519
--- routerlist.c 9 Jun 2006 02:45:39 -0000 1.518
+++ routerlist.c 9 Jun 2006 06:52:49 -0000 1.519
@@ -3668,6 +3668,8 @@ router_have_minimum_dir_info(void)
SMARTLIST_FOREACH(networkstatus_list, networkstatus_t *, ns,
tot += routerstatus_count_usable_entries(ns->entries));
avg = tot / n_ns;
+ if (!routerstatus_list)
+ routerstatus_list = smartlist_create();
SMARTLIST_FOREACH(routerstatus_list, local_routerstatus_t *, rs,
{
if (rs->status.is_running)
More information about the tor-commits
mailing list