summaryrefslogtreecommitdiff
path: root/src/test/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-04-18 11:16:05 -0400
committerNick Mathewson <nickm@torproject.org>2013-04-18 11:16:05 -0400
commitda30adcf0fd048d1f2e7a4b76e2c880cc3824e6e (patch)
treeeef8ad038eb361e3241c3b8f9997478c8522ce55 /src/test/test.c
parent5f035e2c6501fe166900cb493e2c3de51371c9c5 (diff)
parent9fec0c1a95ab24f5f18d6995e30fe2111e6b7db2 (diff)
downloadtor-da30adcf0fd048d1f2e7a4b76e2c880cc3824e6e.tar.gz
tor-da30adcf0fd048d1f2e7a4b76e2c880cc3824e6e.zip
Merge remote-tracking branch 'origin/maint-0.2.4'
Conflicts: src/common/crypto.c
Diffstat (limited to 'src/test/test.c')
-rw-r--r--src/test/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test.c b/src/test/test.c
index 08ae116af4..fe4513c7ee 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -108,7 +108,8 @@ setup_directory(void)
r = mkdir(temp_dir);
}
#else
- tor_snprintf(temp_dir, sizeof(temp_dir), "/tmp/tor_test_%d_%s", (int) getpid(), rnd32);
+ tor_snprintf(temp_dir, sizeof(temp_dir), "/tmp/tor_test_%d_%s",
+ (int) getpid(), rnd32);
r = mkdir(temp_dir, 0700);
#endif
if (r) {