mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
r11930@Kushana: nickm | 2007-01-11 09:05:27 -0500
fix recently-introduced segfault when not running as a dirserver svn:r9332
This commit is contained in:
parent
7beb0fd5dd
commit
0c77ae2fcb
@ -1105,6 +1105,9 @@ dirserv_clear_old_networkstatuses(time_t cutoff)
|
||||
{
|
||||
digestmap_iter_t *iter;
|
||||
|
||||
if (!cached_v2_networkstatus)
|
||||
return;
|
||||
|
||||
for (iter = digestmap_iter_init(cached_v2_networkstatus);
|
||||
!digestmap_iter_done(iter); ) {
|
||||
const char *ident;
|
||||
|
Loading…
Reference in New Issue
Block a user