Skip to content

Commit

Permalink
Use nqp::getport on JVM
Browse files Browse the repository at this point in the history
This makes S32-io/IO-Socket-INET.t pass.
  • Loading branch information
usev6 committed Nov 9, 2017
1 parent f8e1a5f commit d6cd0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/IO/Socket/INET.pm
Expand Up @@ -124,7 +124,7 @@ my class IO::Socket::INET does IO::Socket {
}

if $.listening {
#?if moar
#?if !js
$!localport = nqp::getport($PIO) if !$!localport;
#?endif
}
Expand Down

0 comments on commit d6cd0d2

Please sign in to comment.