r13991@Kushana: nickm | 2007-08-13 16:37:43 -0400

Do not warn on missing cached consensus.


svn:r11092
This commit is contained in:
Nick Mathewson 2007-08-13 20:45:27 +00:00
parent 4e4dcb2571
commit b4adf151d2

View file

@ -184,7 +184,7 @@ router_reload_consensus_networkstatus(void)
tor_snprintf(filename,sizeof(filename),"%s"PATH_SEPARATOR"cached-consensus", tor_snprintf(filename,sizeof(filename),"%s"PATH_SEPARATOR"cached-consensus",
get_options()->DataDirectory); get_options()->DataDirectory);
s = read_file_to_str(filename, 0, NULL); s = read_file_to_str(filename, RTFS_IGNORE_MISSING, NULL);
if (!s) if (!s)
return 0; return 0;