summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-04-19 12:41:01 -0400
committerNick Mathewson <nickm@torproject.org>2011-04-19 12:41:01 -0400
commit4a7f979b54c1400190e037b818a241b92e40aabd (patch)
treeef602fa3031a62cad0ce87f5037ea5f4fe479d8e /src/test
parent9eeb902d1215afb54f26c91a5e6e372b9b2553f2 (diff)
parent5cc322e5472996fda6095e54de302c0f5c68ea92 (diff)
downloadtor-4a7f979b54c1400190e037b818a241b92e40aabd.tar.gz
tor-4a7f979b54c1400190e037b818a241b92e40aabd.zip
Merge remote-tracking branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_addr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_addr.c b/src/test/test_addr.c
index 20ffaa0c52..6db4ee2483 100644
--- a/src/test/test_addr.c
+++ b/src/test/test_addr.c
@@ -477,9 +477,9 @@ test_addr_ip6_helpers(void)
i = get_interface_address6(LOG_DEBUG, AF_INET6, &t2);
#if 0
tor_inet_ntop(AF_INET, &t1.sa.sin_addr, buf, sizeof(buf));
- printf("\nv4 address: %s (family=%i)", buf, IN_FAMILY(&t1));
+ printf("\nv4 address: %s (family=%d)", buf, IN_FAMILY(&t1));
tor_inet_ntop(AF_INET6, &t2.sa6.sin6_addr, buf, sizeof(buf));
- printf("\nv6 address: %s (family=%i)", buf, IN_FAMILY(&t2));
+ printf("\nv6 address: %s (family=%d)", buf, IN_FAMILY(&t2));
#endif
done: