浏览代码

Oops, missed one

svn:r2445
Nick Mathewson 21 年之前
父节点
当前提交
79636823b8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/test.c

+ 1 - 1
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);