]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/httpd-https.t
tests: favor IPv6
[public-inbox.git] / t / httpd-https.t
index a2166ce60a0e48d9ac261a315780828151c2d20e..b37492ebb2908524d41a6ba810d5697b5835135a 100644 (file)
@@ -21,7 +21,7 @@ my $err = "$tmpdir/stderr.log";
 my $out = "$tmpdir/stdout.log";
 my $https = tcp_server();
 my $td;
-my $https_addr = $https->sockhost . ':' . $https->sockport;
+my $https_addr = tcp_host_port($https);
 
 for my $args (
        [ "-lhttps://$https_addr/?key=$key,cert=$cert" ],