aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-07-27 19:52:06 -0700
committerGarrett D'Amore <garrett@damore.org>2020-07-27 19:52:06 -0700
commit27f2456b3f9b432b2663208c6d2b77f71d669ec5 (patch)
tree024804068782c3d7a16815fec3b7cf8d7f253b04 /tests
parent09d667c49383edb980bcac88de1173c452066128 (diff)
downloadnng-27f2456b3f9b432b2663208c6d2b77f71d669ec5.tar.gz
nng-27f2456b3f9b432b2663208c6d2b77f71d669ec5.tar.bz2
nng-27f2456b3f9b432b2663208c6d2b77f71d669ec5.zip
fixes #1267 testutil cannot use ipc names on Windows
Diffstat (limited to 'tests')
-rw-r--r--tests/testutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testutil.c b/tests/testutil.c
index 4b20fc6a..58de1524 100644
--- a/tests/testutil.c
+++ b/tests/testutil.c
@@ -164,6 +164,7 @@ testutil_scratch_addr(const char *scheme, size_t sz, char *addr)
(void) snprintf(addr, sz, "%s://testutil%04x%04x%04x%04x",
scheme, nng_random(), nng_random(), nng_random(),
nng_random());
+ return;
#else
char *tmpdir;