From: Nick Mathewson Date: Tue, 5 Sep 2017 18:55:13 +0000 (-0400) Subject: Fix an erroneous ! X-Git-Tag: tor-0.3.2.1-alpha~103 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e02d02076f4ffe51a2da8415d93ec983208a7c7;p=thirdparty%2Ftor.git Fix an erroneous ! --- 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);