Loading changes/bug4637 0 → 100644 +3 −0 Original line number Diff line number Diff line o Code simplifications and refactoring: - Remove some dead code spotted by coverity. Fixes cid 432. Bugfix on 0.2.3.1-alpha, closes bug 4637. src/or/directory.c +1 −1 Original line number Diff line number Diff line Loading @@ -410,7 +410,7 @@ directory_get_from_dirserver(uint8_t dir_purpose, uint8_t router_purpose, } else { /* Otherwise it might be a consensus we don't parse, but which we * do cache. Look at the cached copy, perhaps. */ cached_dir_t *cd = dirserv_get_consensus(resource ? resource : "ns"); cached_dir_t *cd = dirserv_get_consensus(resource); if (cd) if_modified_since = cd->published + 180; } Loading Loading
changes/bug4637 0 → 100644 +3 −0 Original line number Diff line number Diff line o Code simplifications and refactoring: - Remove some dead code spotted by coverity. Fixes cid 432. Bugfix on 0.2.3.1-alpha, closes bug 4637.
src/or/directory.c +1 −1 Original line number Diff line number Diff line Loading @@ -410,7 +410,7 @@ directory_get_from_dirserver(uint8_t dir_purpose, uint8_t router_purpose, } else { /* Otherwise it might be a consensus we don't parse, but which we * do cache. Look at the cached copy, perhaps. */ cached_dir_t *cd = dirserv_get_consensus(resource ? resource : "ns"); cached_dir_t *cd = dirserv_get_consensus(resource); if (cd) if_modified_since = cd->published + 180; } Loading