diff options
author | Raimo Niskanen <[email protected]> | 2016-06-08 09:56:04 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2016-06-08 14:45:32 +0200 |
commit | f429adba7e7a862b9949821b40aa3cba12455b3e (patch) | |
tree | eab986313b34e0acb67caafae26f3e3e985b65e1 /erts/preloaded/src/prim_inet.erl | |
parent | 2c9dba638a8bda92e3db2d5c07e6ba251330c7ca (diff) | |
download | otp-f429adba7e7a862b9949821b40aa3cba12455b3e.tar.gz otp-f429adba7e7a862b9949821b40aa3cba12455b3e.tar.bz2 otp-f429adba7e7a862b9949821b40aa3cba12455b3e.zip |
Remove internal state BOUND from inet_drv
Diffstat (limited to 'erts/preloaded/src/prim_inet.erl')
-rw-r--r-- | erts/preloaded/src/prim_inet.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/preloaded/src/prim_inet.erl b/erts/preloaded/src/prim_inet.erl index 71dbfbd0a7..7f8097e17e 100644 --- a/erts/preloaded/src/prim_inet.erl +++ b/erts/preloaded/src/prim_inet.erl @@ -1746,8 +1746,8 @@ enc_value_2(addr, {inet6,{IP,Port}}) -> [?INET_AF_INET6,?int16(Port)|ip6_to_bytes(IP)]; enc_value_2(addr, {local,Addr}) -> %% A binary is passed as is, but anything else will be - %% regarded as a filename and therefore UTF-8 encoded - %% if the system filename encoding flag so dictates. + %% regarded as a filename and therefore encoded according to + %% the current system filename encoding. Bin = if is_binary(Addr) -> |