summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-11-30 18:53:14 +0000
committerRoger Dingledine <arma@torproject.org>2007-11-30 18:53:14 +0000
commitad0fcef5763ba9e581938b10ec04910fd248824a (patch)
tree2891aee8104dbb0c55590642b96b0ed3b75709f1
parentac82d81538908636711b3b1824af682f47d4f64f (diff)
downloadtor-ad0fcef5763ba9e581938b10ec04910fd248824a.tar.gz
tor-ad0fcef5763ba9e581938b10ec04910fd248824a.zip
other trivial tweaks
svn:r12614
-rw-r--r--src/or/config.c4
-rw-r--r--src/or/directory.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/or/config.c b/src/or/config.c
index f8587f18b4..91f7862c44 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1269,8 +1269,8 @@ config_get_lines(char *string, config_line_t **result)
}
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);
diff --git a/src/or/directory.c b/src/or/directory.c
index ab62230008..b0dd6a5a75 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -333,7 +333,7 @@ directory_get_from_dirserver(uint8_t dir_purpose, uint8_t router_purpose,
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) {