aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-08 21:01:24 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-08 21:01:24 +0000
commit4528bbfd9f68eb7537f0b130336ef6023a6270ce (patch)
treea664eb8f5c7ff768245ab83b8167e1cf10852388 /src/or/routerparse.c
parentc523e106b54bab147014bccb56207c0c6d31d5de (diff)
downloadtor-4528bbfd9f68eb7537f0b130336ef6023a6270ce.tar
tor-4528bbfd9f68eb7537f0b130336ef6023a6270ce.tar.gz
Resolve some XXXs. Add some others.
svn:r4947
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 057dbe0c6..cd89d215f 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -293,7 +293,6 @@ get_recommended_software_from_directory(const char *str)
r, ret, same;
static int warned_too_new=0;
smartlist_t *version_sl;
- int XXXpath;
vl = versionlist;
@@ -340,18 +339,15 @@ get_recommended_software_from_directory(const char *str)
warned_too_new = 1;
}
ret = 0;
- XXXpath = 1;
} else {
/* We found a newer one in the same series; we're obsolete. */
ret = 1;
- XXXpath = 2;
}
} else {
if (found_newer) {
/* We belong to a series with no recommended members, and
* a newer series is recommended. We're obsolete. */
ret = 1;
- XXXpath = 3;
} else {
/* We belong to a series with no recommended members, and it's
* newer than any recommended series. We're probably okay. */
@@ -361,7 +357,6 @@ get_recommended_software_from_directory(const char *str)
warned_too_new = 1;
}
ret = 0;
- XXXpath = 4;
}
}
/*
@@ -1291,7 +1286,7 @@ networkstatus_parse_from_string(const char *s)
log_fn(LOG_WARN, "Couldn't find network-status-version keyword");
goto err;
}
- /* XXXX do something with the version? */
+ /* XXXX do something with the version? NM */
if (!(tok = find_first_by_keyword(tokens, K_DIR_SOURCE))) {
log_fn(LOG_WARN, "Couldn't find dir-source keyword");