commit 4e02d02076f4ffe51a2da8415d93ec983208a7c7
parent 4ce60dab0077ba30d1507a6b92e7b933870ed092
Author: Nick Mathewson <nickm@torproject.org>
Date: Tue, 5 Sep 2017 14:55:13 -0400
Fix an erroneous !
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);