diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-07 15:03:32 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-07 15:03:32 -0400 |
commit | 9ca1af9a8757ee73cf4018263cb3ae2340ebaa9f (patch) | |
tree | c747d03a54dde4ad4defa2c4c129545aa31064b1 /src/test/testing_common.c | |
parent | 13d0855a893a46a0f6dc06dc7d983ea321f7206a (diff) | |
parent | 3695ef6343fa1c05cd15a3ddf35c3fe6991ff2ad (diff) | |
download | tor-9ca1af9a8757ee73cf4018263cb3ae2340ebaa9f.tar.gz tor-9ca1af9a8757ee73cf4018263cb3ae2340ebaa9f.zip |
Merge remote-tracking branch 'dgoulet/ticket20700_035_03'
Diffstat (limited to 'src/test/testing_common.c')
-rw-r--r-- | src/test/testing_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/testing_common.c b/src/test/testing_common.c index 42b5190ca0..5d4c2f15af 100644 --- a/src/test/testing_common.c +++ b/src/test/testing_common.c @@ -113,8 +113,8 @@ get_fname_suffix(const char *name, const char *suffix) setup_directory(); if (!name) return temp_dir; - tor_snprintf(buf,sizeof(buf),"%s/%s%s%s",temp_dir,name,suffix ? "_" : "", - suffix ? suffix : ""); + tor_snprintf(buf,sizeof(buf),"%s%s%s%s%s", temp_dir, PATH_SEPARATOR, name, + suffix ? "_" : "", suffix ? suffix : ""); return buf; } |