diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-08 21:20:20 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-08 21:20:20 +0000 |
commit | a938190bdb3993df69cf578cc631bf074eb4280b (patch) | |
tree | 7589ffbd0de0c19cd3a5ee672f2318f76bc63cd6 | |
parent | e28931dc94fd932e7fc4e569cc698af9e91fe9bd (diff) | |
download | tor-a938190bdb3993df69cf578cc631bf074eb4280b.tar.gz tor-a938190bdb3993df69cf578cc631bf074eb4280b.zip |
Iteration is happier when you stop.
svn:r4950
-rw-r--r-- | src/or/dirserv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 28fc19317c..b062514c24 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1182,6 +1182,7 @@ dirserv_get_networkstatus_v2(smartlist_t *result, 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(); |