From 3885912d9b61639437a738707299d2b14d40ed67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 12 Mar 2012 21:57:07 +0100 Subject: Rename inet:ip_port() to inet:port_number() Thanks go to @superbobry for pointing it out. --- include/http.hrl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/http.hrl') diff --git a/include/http.hrl b/include/http.hrl index c66f2b0..9ba3787 100644 --- a/include/http.hrl +++ b/include/http.hrl @@ -23,11 +23,12 @@ pid = undefined :: pid(), method = 'GET' :: cowboy_http:method(), version = {1, 1} :: cowboy_http:version(), - peer = undefined :: undefined | {inet:ip_address(), inet:ip_port()}, + peer = undefined :: undefined | + {inet:ip_address(), inet:port_number()}, host = undefined :: undefined | cowboy_dispatcher:tokens(), host_info = undefined :: undefined | cowboy_dispatcher:tokens(), raw_host = undefined :: undefined | binary(), - port = undefined :: undefined | inet:ip_port(), + port = undefined :: undefined | inet:port_number(), path = undefined :: undefined | '*' | cowboy_dispatcher:tokens(), path_info = undefined :: undefined | cowboy_dispatcher:tokens(), raw_path = undefined :: undefined | binary(), -- cgit v1.2.3