aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-10-12 16:04:25 +0000
committerNick Mathewson <nickm@torproject.org>2004-10-12 16:04:25 +0000
commit79636823b82caffe01135c5ffb4b38136cb74a78 (patch)
tree64dd9f1563b9ea7450085dac91517fc55d8215b1 /src
parenta91fc48b39b13768dc9069921f2d7e41456debfa (diff)
downloadtor-79636823b82caffe01135c5ffb4b38136cb74a78.tar
tor-79636823b82caffe01135c5ffb4b38136cb74a78.tar.gz
Oops, missed one
svn:r2445
Diffstat (limited to 'src')
-rw-r--r--src/or/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 6a13a9db6..4d8bfb8d1 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -660,7 +660,7 @@ test_util() {
u32 = 3;
test_assert(!parse_addr_port("localhost", NULL, &u32, &u16));
test_eq(cp, NULL);
- test_eq(u32, 0x7f000001u);
+ test_eq(u32, htonl(0x7f000001u));
test_eq(u16, 0);
tor_free(cp);