summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-09-06 06:14:38 +0000
committerRoger Dingledine <arma@torproject.org>2005-09-06 06:14:38 +0000
commitc384fa706daf8e2a440289b4c9b290ea674efc9b (patch)
tree516aaf27aeb5172390bd7d4c8eea2b21fdd277d4 /src/or
parent1e37ec4782bf8342337632dd03a1242fad6da705 (diff)
downloadtor-c384fa706daf8e2a440289b4c9b290ea674efc9b.tar.gz
tor-c384fa706daf8e2a440289b4c9b290ea674efc9b.zip
stop using the v1 rend desc format. we're going to change v1
some more before we switch to it. svn:r4909
Diffstat (limited to 'src/or')
-rw-r--r--src/or/directory.c5
-rw-r--r--src/or/rendservice.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index e1bb961231..be5f33c1fe 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -436,8 +436,9 @@ directory_send_command(connection_t *conn, const char *platform,
httpcommand = "GET";
/* Request the most recent versioned descriptor. */
- tor_snprintf(url, sizeof(url), "/tor/rendezvous1/%s", resource);
- //tor_snprintf(url, sizeof(url), "/tor/rendezvous/%s", resource);
+ // XXXX011
+ //tor_snprintf(url, sizeof(url), "/tor/rendezvous1/%s", resource);
+ tor_snprintf(url, sizeof(url), "/tor/rendezvous/%s", resource);
break;
case DIR_PURPOSE_UPLOAD_RENDDESC:
tor_assert(!resource);
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 3bb86c2c09..c2e7e21807 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -1026,7 +1026,7 @@ rend_consider_services_upload(time_t now)
* descriptor and ours has been stable for 5 seconds, upload a
* new one of each format. */
upload_service_descriptor(service, 0);
- upload_service_descriptor(service, 1);
+ // XXXX011 upload_service_descriptor(service, 1);
service->next_upload_time = now + rendpostperiod;
}
}