aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-12-11 20:40:12 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-11 20:40:12 -0500
commit3e4a1ed7bb1e67a81f47dc8067774d2907a15c81 (patch)
tree3612bef7d369f23194bb35da33aae0673143915e
parent4c5eb0b21d65a565aaeda4d44d4c8ff6e89bbec7 (diff)
parent87c000d19e40d97561076d043fdaa778bd48c124 (diff)
downloadtor-3e4a1ed7bb1e67a81f47dc8067774d2907a15c81.tar.gz
tor-3e4a1ed7bb1e67a81f47dc8067774d2907a15c81.zip
Merge branch 'maint-0.2.9'
-rw-r--r--src/test/test_hs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_hs.c b/src/test/test_hs.c
index 6fadeeead2..ac9788ceea 100644
--- a/src/test/test_hs.c
+++ b/src/test/test_hs.c
@@ -579,8 +579,8 @@ test_single_onion_poisoning(void *arg)
tt_assert(ret == 0);
}
- service_1->directory = tor_strdup(dir1);
- service_2->directory = tor_strdup(dir2);
+ service_1->directory = dir1;
+ service_2->directory = dir2;
/* The services own the directory pointers now */
dir1 = dir2 = NULL;
/* Add port to service 1 */