Skip to content
Snippets Groups Projects
Commit a2b59dba authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Merge branch 'bug11654_squashed'

parents 0e20825b a787575b
No related branches found
No related tags found
No related merge requests found
o Minor bugfixes:
- Fix a broken log message about delayed directory fetches that
was caused by a misuse of strlcpy(). Fixes bug 11654; bugfix on
0.2.5.3-alpha.
......@@ -1510,8 +1510,8 @@ update_router_have_minimum_dir_info(void)
}
if (should_delay_dir_fetches(get_options(), &delay_fetches_msg)) {
log_notice(LD_DIR, "Delaying dir fetches: %s", delay_fetches_msg);
strlcpy(dir_info_status, "%s", sizeof(dir_info_status));
log_notice(LD_DIR, "Delaying directory fetches: %s", delay_fetches_msg);
strlcpy(dir_info_status, delay_fetches_msg, sizeof(dir_info_status));
res = 0;
goto done;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment