[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [tor/master] Remove a spurious .z from microdesc fetch URLs so they no logner end with .z.z



Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Thu, 7 Oct 2010 20:41:15 -0400
Subject: Remove a spurious .z from microdesc fetch URLs so they no logner end with .z.z
Commit: d0f1f9ce9e1b923cdd931a2f22c0fb7e256f0dc6

---
 src/or/directory.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/or/directory.c b/src/or/directory.c
index 657b210..2e7cba4 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1157,7 +1157,7 @@ directory_send_command(dir_connection_t *conn,
     case DIR_PURPOSE_FETCH_MICRODESC:
       tor_assert(resource);
       httpcommand = "GET";
-      tor_asprintf(&url, "/tor/micro/%s.z", resource);
+      tor_asprintf(&url, "/tor/micro/%s", resource);
       break;
     case DIR_PURPOSE_UPLOAD_DIR:
       tor_assert(!resource);
-- 
1.7.1