소스 검색

Iteration is happier when you stop.

svn:r4950
Nick Mathewson 20 년 전
부모
커밋
a938190bdb
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/or/dirserv.c

+ 1 - 0
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();