aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-12-21 09:33:11 +0000
committerRoger Dingledine <arma@torproject.org>2007-12-21 09:33:11 +0000
commit3f4080d15d74df52600a352a02dab7ba7a797cee (patch)
tree838ac3fdd404d7b73c6368dd2ab8e5e7a97a29f6 /src/or/rendservice.c
parent90fcfade4ef7d290a1da4540187196ce873c71b0 (diff)
downloadtor-3f4080d15d74df52600a352a02dab7ba7a797cee.tar
tor-3f4080d15d74df52600a352a02dab7ba7a797cee.tar.gz
tiny tweaks on r12900
svn:r12901
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index cd8af9f19..e80d5e947 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -347,9 +347,9 @@ rend_service_update_descriptor(rend_service_t *service)
d->timestamp = time(NULL);
d->version = service->descriptor_version;
d->intro_nodes = smartlist_create();
- /* XXXX020 Why should we support the old intro protocol 0? Whoever
- * understands descriptor version 2 also understands intro protocol 2. */
- d->protocols = 1 << 2; /*< We only support intro protocol 2. */
+ /* Whoever understands descriptor version 2 also understands intro
+ * protocol 2. So we only support 2. */
+ d->protocols = 1 << 2;
for (i = 0; i < smartlist_len(service->intro_nodes); ++i) {
rend_intro_point_t *intro_svc = smartlist_get(service->intro_nodes, i);