[tor-commits] [tor/master] Correct 'was not internal' to 'was internal' in test_external_ip()

dgoulet at torproject.org dgoulet at torproject.org
Wed Apr 8 13:44:23 UTC 2020


commit 34faee0600e4efe2a76a1776f6c9bd3173b3e0c5
Author: Mrigyen Sawant <Mrigyen at users.noreply.github.com>
Date:   Tue Apr 7 23:32:39 2020 +0530

    Correct 'was not internal' to 'was internal' in test_external_ip()
---
 src/test/test_addr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_addr.c b/src/test/test_addr.c
index af3c125a2..42232e467 100644
--- a/src/test/test_addr.c
+++ b/src/test/test_addr.c
@@ -110,7 +110,7 @@ test_addr_basic(void *arg)
     tt_int_op(tor_inet_pton(AF_INET6, a, &t1.addr.in6_addr), OP_EQ, 1); \
     t1.family = AF_INET6;                                      \
     if (tor_addr_is_internal(&t1, for_listening))              \
-      TT_DIE(("%s was not internal", a));                      \
+      TT_DIE(("%s was internal", a));                      \
   STMT_END
 
 #ifndef COCCI





More information about the tor-commits mailing list