diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-02-13 17:45:15 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-02-13 17:45:15 -0500 |
commit | 9efee31fae1584c108a31fa407e32cc271d9bf10 (patch) | |
tree | 9770b4765ef28a7baed2526db26c864acf825772 /src/test/test_addr.c | |
parent | 3b47a11654e4a4fe4931cb7fdce08b75ac667be1 (diff) | |
download | tor-9efee31fae1584c108a31fa407e32cc271d9bf10.tar.gz tor-9efee31fae1584c108a31fa407e32cc271d9bf10.zip |
Synchronize with upstream tinytest again: remove _identifiers
Diffstat (limited to 'src/test/test_addr.c')
-rw-r--r-- | src/test/test_addr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_addr.c b/src/test/test_addr.c index cf9c8f91d5..3838b8072b 100644 --- a/src/test/test_addr.c +++ b/src/test/test_addr.c @@ -73,17 +73,17 @@ test_addr_basic(void) #define _test_op_ip6(a,op,b,e1,e2) \ STMT_BEGIN \ tt_assert_test_fmt_type(a,b,e1" "#op" "e2,struct in6_addr*, \ - (memcmp(_val1->s6_addr, _val2->s6_addr, 16) op 0), \ + (memcmp(val1_->s6_addr, val2_->s6_addr, 16) op 0), \ char *, "%s", \ { int i; char *cp; \ - cp = _print = tor_malloc(64); \ + cp = print_ = tor_malloc(64); \ for (i=0;i<16;++i) { \ - tor_snprintf(cp, 3,"%02x", (unsigned)_value->s6_addr[i]);\ + tor_snprintf(cp, 3,"%02x", (unsigned)value_->s6_addr[i]);\ cp += 2; \ if (i != 15) *cp++ = ':'; \ } \ }, \ - { tor_free(_print); }, \ + { tor_free(print_); }, \ TT_EXIT_TEST_FUNCTION \ ); \ STMT_END |