mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Initialize consdiffmgr when running as (or becoming) a server.
This commit is contained in:
@@ -622,7 +622,8 @@ consdiffmgr_cleanup(void)
|
||||
void
|
||||
consdiffmgr_configure(const consdiff_cfg_t *cfg)
|
||||
{
|
||||
memcpy(&consdiff_cfg, cfg, sizeof(consdiff_cfg));
|
||||
if (cfg)
|
||||
memcpy(&consdiff_cfg, cfg, sizeof(consdiff_cfg));
|
||||
|
||||
(void) cdm_cache_get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user