diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-09-05 14:55:13 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-05 14:55:13 -0400 |
commit | 4e02d02076f4ffe51a2da8415d93ec983208a7c7 (patch) | |
tree | c316c82006ed4902a087184822adb2738a392b32 | |
parent | 4ce60dab0077ba30d1507a6b92e7b933870ed092 (diff) | |
download | tor-4e02d02076f4ffe51a2da8415d93ec983208a7c7.tar.gz tor-4e02d02076f4ffe51a2da8415d93ec983208a7c7.zip |
Fix an erroneous !
-rw-r--r-- | 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 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); |