Remove a spurious .z from microdesc fetch URLs so they no logner end with .z.z

This commit is contained in:
Nick Mathewson 2010-10-07 20:41:15 -04:00
parent 5bab9fe79e
commit d0f1f9ce9e

View File

@ -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);