aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-11-29 15:37:17 +0000
committerRoger Dingledine <arma@torproject.org>2007-11-29 15:37:17 +0000
commitfea55c7c2db42769a5b537ca89768c8c06143b7f (patch)
tree6f8ed6c58d5f729911ae0bd28ea614071af5c6c3 /src/or/rendservice.c
parent8ac5f24c33f73bd4d192e86e5e535e2cb35288e1 (diff)
downloadtor-fea55c7c2db42769a5b537ca89768c8c06143b7f.tar.gz
tor-fea55c7c2db42769a5b537ca89768c8c06143b7f.zip
two pieces of r12607 for karsten to look at closer
svn:r12609
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 155a5e69db..e354e2baa9 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -324,6 +324,9 @@ rend_config_services(or_options_t *options, int validate_only)
version = atoi(version_str);
versions_bitmask |= 1 << version;
}
+ /* XXX020 Karsten: do you really want to overwrite the
+ * descriptor_version in the second line? Perhaps if both bits
+ * are set you want to leave it at -1? -RD */
if (versions_bitmask == 1 << 0) service->descriptor_version = 0;
if (versions_bitmask == 1 << 2) service->descriptor_version = 2;
}