mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix an erroneous !
This commit is contained in:
parent
4ce60dab00
commit
4e02d02076
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user