summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-08-12 15:05:05 +0000
committerNick Mathewson <nickm@torproject.org>2005-08-12 15:05:05 +0000
commit21959c1bfd8bbc465a330fe8d9ad52518de51f71 (patch)
treecf122b4befb31ec48863439bda1da5a373e901ca /src/or/rendservice.c
parentad1ff57705bf6023be3ad31d990ccc6c423a1ae0 (diff)
downloadtor-21959c1bfd8bbc465a330fe8d9ad52518de51f71.tar.gz
tor-21959c1bfd8bbc465a330fe8d9ad52518de51f71.zip
start using new renddesc code
svn:r4769
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 2e49594257..2ed1584e02 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1017,11 +1017,9 @@ rend_consider_services_upload(time_t now)
service->desc_is_dirty < now-5)) {
/* if it's time, or if the directory servers have a wrong service
* descriptor and ours has been stable for 5 seconds, upload a
- * new one. */
+ * new one of each format. */
upload_service_descriptor(service, 0);
- /* XXXX011 NM Once directories understand versioned descriptors, enable
- * this. */
- // upload_service_descriptor(service, 1);
+ upload_service_descriptor(service, 1);
service->next_upload_time = now + rendpostperiod;
}
}