]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Oops, missed one
authorNick Mathewson <nickm@torproject.org>
Tue, 12 Oct 2004 16:04:25 +0000 (16:04 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 12 Oct 2004 16:04:25 +0000 (16:04 +0000)
svn:r2445

src/or/test.c

index 6a13a9db6c7276d0da269974ec104b729ba35452..4d8bfb8d186a33aea8b4051c4b90875b98ce8f7b 100644 (file)
@@ -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);