diff options
author | Loïc Hoguin <[email protected]> | 2012-03-12 21:57:07 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-03-12 21:57:07 +0100 |
commit | 3885912d9b61639437a738707299d2b14d40ed67 (patch) | |
tree | fff0f88d27be3d53b2132bb42cea6292117e176c /src/cowboy_dispatcher.erl | |
parent | 5d46ad0e58623591ca97c42f76a4e0151d724047 (diff) | |
download | cowboy-3885912d9b61639437a738707299d2b14d40ed67.tar.gz cowboy-3885912d9b61639437a738707299d2b14d40ed67.tar.bz2 cowboy-3885912d9b61639437a738707299d2b14d40ed67.zip |
Rename inet:ip_port() to inet:port_number()
Thanks go to @superbobry for pointing it out.
Diffstat (limited to 'src/cowboy_dispatcher.erl')
-rw-r--r-- | src/cowboy_dispatcher.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_dispatcher.erl b/src/cowboy_dispatcher.erl index 22f6e1e..db40e63 100644 --- a/src/cowboy_dispatcher.erl +++ b/src/cowboy_dispatcher.erl @@ -33,7 +33,7 @@ %% @doc Split a hostname into a list of tokens. -spec split_host(binary()) - -> {tokens(), binary(), undefined | inet:ip_port()}. + -> {tokens(), binary(), undefined | inet:port_number()}. split_host(<<>>) -> {[], <<>>, undefined}; split_host(Host) -> |