mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 22:47:12 +01:00
r16367@catbus: nickm | 2007-11-02 13:13:15 -0400
Space fixes. svn:r12345
This commit is contained in:
parent
dfc689bda2
commit
3a6287615b
3 changed files with 5 additions and 5 deletions
|
@ -737,7 +737,7 @@ set_max_file_descriptors(unsigned long limit, unsigned long cap)
|
|||
}
|
||||
#endif
|
||||
if (bad) {
|
||||
log_warn(LD_CONFIG, "Couldn't set maximum number of file descriptors: %s",
|
||||
log_warn(LD_CONFIG,"Couldn't set maximum number of file descriptors: %s",
|
||||
strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -3309,7 +3309,7 @@ rend_parse_v2_service_descriptor(rend_service_descriptor_t **parsed_out,
|
|||
* valid numbers. -KL */
|
||||
/* As above, increased version numbers are for
|
||||
* non-backward-compatible changes. This code doesn't know how to
|
||||
* parse a v3 descriptor, because a v3 descriptor is by definitition not
|
||||
* parse a v3 descriptor, because a v3 descriptor is by definitition not
|
||||
* compatible with this code. */
|
||||
version = atoi(smartlist_get(versions, i));
|
||||
result->protocols |= 1 << version;
|
||||
|
|
Loading…
Add table
Reference in a new issue