summaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-02-09 22:52:29 +0000
committerRoger Dingledine <arma@torproject.org>2008-02-09 22:52:29 +0000
commit5a0f214908b1335c8aab2a7c992e3f2da708a35f (patch)
tree1fc7dc5d42df68f23bd4b022e036f1cac8c7048e /src/or/test.c
parentd2528e6b48374b31ca07ba85c0caf2dc80fa86bf (diff)
downloadtor-5a0f214908b1335c8aab2a7c992e3f2da708a35f.tar.gz
tor-5a0f214908b1335c8aab2a7c992e3f2da708a35f.zip
patch from tup to fix bug 605
svn:r13453
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/test.c b/src/or/test.c
index dd8155ac8e..1177e5a82e 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -2232,8 +2232,8 @@ test_dir_format(void)
r2->identity_pkey = crypto_pk_dup_key(pk1);
r2->bandwidthrate = r2->bandwidthburst = r2->bandwidthcapacity = 3000;
r2->exit_policy = smartlist_create();
- smartlist_add(r2->exit_policy, &ex2);
- smartlist_add(r2->exit_policy, &ex1);
+ smartlist_add(r2->exit_policy, ex2);
+ smartlist_add(r2->exit_policy, ex1);
r2->nickname = tor_strdup("Fred");
test_assert(!crypto_pk_write_public_key_to_string(pk1, &pk1_str,
@@ -2355,7 +2355,7 @@ test_dir_format(void)
tor_free(dir1); /* XXXX And more !*/
tor_free(dir2); /* And more !*/
routerinfo_free(r1);
-// routerinfo_free(r2); XXX020 this line crashes on openbsd and netbsd
+ routerinfo_free(r2);
/* Try out version parsing functionality */
test_eq(0, tor_version_parse("0.3.4pre2-cvs", &ver1));