Fix an erroneous !

This commit is contained in:
Nick Mathewson 2017-09-05 14:55:13 -04:00
parent 4ce60dab00
commit 4e02d02076

View File

@ -1969,7 +1969,7 @@ parse_http_url(const char *headers, char **url)
if (parse_http_command(headers, &command, url) < 0) { if (parse_http_command(headers, &command, url) < 0) {
return -1; return -1;
} }
if (!strcmpstart(*url, "/tor/")) { if (strcmpstart(*url, "/tor/")) {
char *new_url = NULL; char *new_url = NULL;
tor_asprintf(&new_url, "/tor/%s", *url); tor_asprintf(&new_url, "/tor/%s", *url);
tor_free(*url); tor_free(*url);