aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-12-07 05:33:55 +0000
committerNick Mathewson <nickm@torproject.org>2004-12-07 05:33:55 +0000
commitd19648b314a1094d9b9bb198b1cb62251420881e (patch)
tree4701bf5814c18730131654e715ca79c5edc6cb25 /src/or/test.c
parentac759adb43ee9f84892eb0dce376fee7d074351c (diff)
downloadtor-d19648b314a1094d9b9bb198b1cb62251420881e.tar
tor-d19648b314a1094d9b9bb198b1cb62251420881e.tar.gz
Renormalize whitespace
svn:r3095
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 2fd6eb1bc..4cbdf1bca 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -39,7 +39,7 @@ setup_directory(void)
#ifdef MS_WINDOWS
// XXXX
- tor_snprintf(temp_dir, sizeof(temp_dir), "c:\\windows\\temp\\tor_test_%d", (int)getpid());
+ tor_snprintf(temp_dir, sizeof(temp_dir), "c:\\windows\\temp\\tor_test_%d", (int)getpid());
r = mkdir(temp_dir);
#else
tor_snprintf(temp_dir, sizeof(temp_dir), "/tmp/tor_test_%d", (int) getpid());
@@ -78,7 +78,7 @@ remove_directory(void)
perror("Can't remove");
return;
}
- while(1) {
+ while (1) {
size_t dlen = strlen(findData.cFileName)+strlen(temp_dir)+16;
char *deleteable = tor_malloc(dlen);
tor_snprintf(deleteable, dlen, "%s\\%s", temp_dir, findData.cFileName);