[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix an erroneous !



commit 4e02d02076f4ffe51a2da8415d93ec983208a7c7
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Sep 5 14:55:13 2017 -0400

    Fix an erroneous !
---
 src/or/directory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/directory.c b/src/or/directory.c
index 1baf05390..5bf544e67 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);

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits