aboutsummaryrefslogtreecommitdiff
path: root/tests/trantest.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/trantest.h')
-rw-r--r--tests/trantest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/trantest.h b/tests/trantest.h
index f16443ce..93f902da 100644
--- a/tests/trantest.h
+++ b/tests/trantest.h
@@ -123,7 +123,7 @@ trantest_init(trantest *tt, const char *addr)
nng_url *url;
So(nng_url_parse(&url, tt->addr) == 0);
- tt->tran = nni_tran_find(url);
+ tt->tran = nni_sp_tran_find(url);
So(tt->tran != NULL);
nng_url_free(url);
}