|
@@ -3895,17 +3895,17 @@ update_router_have_minimum_dir_info(void)
|
|
|
if (!consensus) {
|
|
|
if (!networkstatus_get_latest_consensus())
|
|
|
strlcpy(dir_info_status, "We have no network-status document.",
|
|
|
- sizeof(dir_info_status));
|
|
|
+ sizeof(dir_info_status));
|
|
|
else
|
|
|
strlcpy(dir_info_status, "We have no recent network-status document.",
|
|
|
- sizeof(dir_info_status));
|
|
|
+ sizeof(dir_info_status));
|
|
|
res = 0;
|
|
|
goto done;
|
|
|
}
|
|
|
|
|
|
if (should_delay_dir_fetches(get_options())) {
|
|
|
log_notice(LD_DIR, "no known bridge descriptors running yet; stalling");
|
|
|
- strlcpy(dir_info_status, "No bridge descriptors.", sizeof(dir_info_status));
|
|
|
+ strlcpy(dir_info_status, "No bridge descriptors.",sizeof(dir_info_status));
|
|
|
res = 0;
|
|
|
goto done;
|
|
|
}
|