aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-05 14:55:13 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-05 14:55:13 -0400
commit4e02d02076f4ffe51a2da8415d93ec983208a7c7 (patch)
treec316c82006ed4902a087184822adb2738a392b32 /src/or/directory.c
parent4ce60dab0077ba30d1507a6b92e7b933870ed092 (diff)
downloadtor-4e02d02076f4ffe51a2da8415d93ec983208a7c7.tar.gz
tor-4e02d02076f4ffe51a2da8415d93ec983208a7c7.zip
Fix an erroneous !
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);