diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/compat.c | 2 | ||||
-rw-r--r-- | src/or/routerlist.c | 6 | ||||
-rw-r--r-- | src/or/routerparse.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index bc99a86d6e..e556257a64 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -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; } diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 9ed50c459d..2ffc2b254f 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -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; } diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 2cf5a1e7f1..1e86f8c6f3 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -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; |