diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-20 23:16:03 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-20 23:16:03 +0000 |
commit | a4b1eb5630d866413385df6071ae1987046f582e (patch) | |
tree | d4e9ae0b4f2e67a72a8174c5a09957a3865efc07 /src/or | |
parent | 73da4bad4641f5aa1cfcf679c624d46818147708 (diff) | |
download | tor-a4b1eb5630d866413385df6071ae1987046f582e.tar.gz tor-a4b1eb5630d866413385df6071ae1987046f582e.zip |
allow StrictEntryNode and StrictExitNode to be singular
svn:r2922
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/config.c | 2 | ||||
-rw-r--r-- | src/or/connection_edge.c | 2 | ||||
-rw-r--r-- | src/or/main.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index f34da4657e..0c1f669b10 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -58,6 +58,8 @@ static config_abbrev_t config_abbrevs[] = { PLURAL(HiddenServiceExcludeNode), PLURAL(RendNode), PLURAL(RendExcludeNode), + PLURAL(StrictEntryNode), + PLURAL(StrictExitNode), { "l", "Log", 1}, { "BandwidthRateBytes", "BandwidthRate", 0}, { "BandwidthBurstBytes", "BandwidthBurst", 0}, diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index e4fc159a9b..07e85b11b3 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -308,7 +308,7 @@ void connection_ap_expire_beginning(void) { } /* end for */ } -/** Tell any AP streamss that are waiting for a new circuit that one is +/** Tell any AP streams that are waiting for a new circuit that one is * available. */ void connection_ap_attach_pending(void) diff --git a/src/or/main.c b/src/or/main.c index 9ad278a8ef..9b566822b3 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1098,7 +1098,7 @@ static void do_list_fingerprint(void) char buf[FINGERPRINT_LEN+1]; crypto_pk_env_t *k; const char *nickname = get_options()->Nickname; - if(!server_mode(get_options())) { + if (!server_mode(get_options())) { printf("Clients don't have long-term identity keys. Exiting.\n"); return; } |