diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-11-02 17:16:34 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-11-02 17:16:34 +0000 |
commit | 3a6287615b9daea6e83ac08a424ed778ef6092ad (patch) | |
tree | 37093ff3c19bb8f6372eda96dfa56a6ae811a4a1 | |
parent | dfc689bda232de67ff3ed20b145e12e57dd5dd31 (diff) | |
download | tor-3a6287615b9daea6e83ac08a424ed778ef6092ad.tar.gz tor-3a6287615b9daea6e83ac08a424ed778ef6092ad.zip |
r16367@catbus: nickm | 2007-11-02 13:13:15 -0400
Space fixes.
svn:r12345
-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; |