diff options
author | Raimo Niskanen <[email protected]> | 2016-06-13 16:36:01 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2016-06-15 08:34:00 +0200 |
commit | 853899cd68899713d5c9af69355424eea4086d41 (patch) | |
tree | c0c7da3a315d0bc77d818727b3d137f1653de975 /lib/kernel/src/local_tcp.erl | |
parent | 16e895198a541ccbbbe6c970bd9572cf347a9c77 (diff) | |
download | otp-853899cd68899713d5c9af69355424eea4086d41.tar.gz otp-853899cd68899713d5c9af69355424eea4086d41.tar.bz2 otp-853899cd68899713d5c9af69355424eea4086d41.zip |
Handle 'undefined' in fdopen
Diffstat (limited to 'lib/kernel/src/local_tcp.erl')
-rw-r--r-- | lib/kernel/src/local_tcp.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/local_tcp.erl b/lib/kernel/src/local_tcp.erl index e3c67dfbb7..90e0fa2162 100644 --- a/lib/kernel/src/local_tcp.erl +++ b/lib/kernel/src/local_tcp.erl @@ -175,4 +175,4 @@ accept(L, Timeout) -> %% Create a port/socket from a file descriptor %% fdopen(Fd, Opts) -> - inet:fdopen(Fd, Opts, ?PROTO, ?FAMILY, ?TYPE, ?MODULE). + inet:open(Fd, undefined, 0, Opts, ?PROTO, ?FAMILY, ?TYPE, ?MODULE). |