allow StrictEntryNode and StrictExitNode to be singular

svn:r2922
This commit is contained in:
Roger Dingledine 2004-11-20 23:16:03 +00:00
parent 73da4bad46
commit a4b1eb5630
3 changed files with 4 additions and 2 deletions

View File

@ -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},

View File

@ -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)

View File

@ -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;
}