aboutsummaryrefslogtreecommitdiff
path: root/src/testing/marry.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/marry.c')
-rw-r--r--src/testing/marry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/marry.c b/src/testing/marry.c
index a197fb01..2c5723db 100644
--- a/src/testing/marry.c
+++ b/src/testing/marry.c
@@ -374,7 +374,7 @@ nuts_marry_ex(
if ((strstr(url, ":0") != NULL) &&
// If a TCP port of zero was selected, let's ask for the actual
// port bound.
- (nng_listener_get_int(l, NNG_OPT_TCP_BOUND_PORT, &port) == 0) &&
+ (nng_listener_get_int(l, NNG_OPT_BOUND_PORT, &port) == 0) &&
(port > 0)) {
replace_port_zero(url, addr, port);
url = addr;