aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 1baf053903..5bf544e67f 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1969,7 +1969,7 @@ parse_http_url(const char *headers, char **url)
if (parse_http_command(headers, &command, url) < 0) {
return -1;
}
- if (!strcmpstart(*url, "/tor/")) {
+ if (strcmpstart(*url, "/tor/")) {
char *new_url = NULL;
tor_asprintf(&new_url, "/tor/%s", *url);
tor_free(*url);