[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Iteration is happier when you stop.
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv21466/src/or
Modified Files:
dirserv.c
Log Message:
Iteration is happier when you stop.
Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/dirserv.c,v
retrieving revision 1.217
retrieving revision 1.218
diff -u -d -r1.217 -r1.218
--- dirserv.c 8 Sep 2005 21:01:24 -0000 1.217
+++ dirserv.c 8 Sep 2005 21:20:20 -0000 1.218
@@ -1182,6 +1182,7 @@
void *val;
strmap_iter_get(iter, &fp, &val);
smartlist_add(result, val);
+ iter = strmap_iter_next(cached_v2_networkstatus, iter);
}
} else if (!strcmpstart(key, "fp/")) {
smartlist_t *hexdigests = smartlist_create();