[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] allow StrictEntryNode and StrictExitNode to be singular



Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	config.c connection_edge.c main.c 
Log Message:
allow StrictEntryNode and StrictExitNode to be singular


Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.259
retrieving revision 1.260
diff -u -d -r1.259 -r1.260
--- config.c	20 Nov 2004 07:33:55 -0000	1.259
+++ config.c	20 Nov 2004 23:16:03 -0000	1.260
@@ -58,6 +58,8 @@
   PLURAL(HiddenServiceExcludeNode),
   PLURAL(RendNode),
   PLURAL(RendExcludeNode),
+  PLURAL(StrictEntryNode),
+  PLURAL(StrictExitNode),
   { "l", "Log", 1},
   { "BandwidthRateBytes", "BandwidthRate", 0},
   { "BandwidthBurstBytes", "BandwidthBurst", 0},

Index: connection_edge.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection_edge.c,v
retrieving revision 1.232
retrieving revision 1.233
diff -u -d -r1.232 -r1.233
--- connection_edge.c	15 Nov 2004 07:50:15 -0000	1.232
+++ connection_edge.c	20 Nov 2004 23:16:03 -0000	1.233
@@ -308,7 +308,7 @@
   } /* 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)

Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.381
retrieving revision 1.382
diff -u -d -r1.381 -r1.382
--- main.c	20 Nov 2004 08:00:57 -0000	1.381
+++ main.c	20 Nov 2004 23:16:03 -0000	1.382
@@ -1098,7 +1098,7 @@
   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;
   }