diff options
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 2 |
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); |