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

[or-cvs] r12614: other trivial tweaks (tor/trunk/src/or)



Author: arma
Date: 2007-11-30 13:53:14 -0500 (Fri, 30 Nov 2007)
New Revision: 12614

Modified:
   tor/trunk/src/or/config.c
   tor/trunk/src/or/directory.c
Log:
other trivial tweaks


Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c	2007-11-30 18:11:26 UTC (rev 12613)
+++ tor/trunk/src/or/config.c	2007-11-30 18:53:14 UTC (rev 12614)
@@ -1269,8 +1269,8 @@
     }
     if (k && v) {
       /* This list can get long, so we keep a pointer to the end of it
-       * rather than using config_line_append over and over and getting n^2
-       * performance.  This is the only really long list. */
+       * rather than using config_line_append over and over and getting
+       * n^2 performance. */
       *next = tor_malloc(sizeof(config_line_t));
       (*next)->key = tor_strdup(k);
       (*next)->value = tor_strdup(v);

Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c	2007-11-30 18:11:26 UTC (rev 12613)
+++ tor/trunk/src/or/directory.c	2007-11-30 18:53:14 UTC (rev 12614)
@@ -333,7 +333,7 @@
   if (!get_via_tor) {
     if (options->UseBridges && type != BRIDGE_AUTHORITY) {
       /* want to ask a running bridge for which we have a descriptor. */
-      /* XXX020 we assume that all of our bridges can answer any
+      /* XXX021 we assume that all of our bridges can answer any
        * possible directory question. This won't be true forever. -RD */
       routerinfo_t *ri = choose_random_entry(NULL);
       if (ri) {