aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_protocol.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-01-23 09:43:26 +0100
committerLoïc Hoguin <[email protected]>2012-01-23 09:43:26 +0100
commit16d3cb76c7b7d82301ab6542f8c6e94a4ee358d5 (patch)
tree91b7ed6f127daae6df83b95c286ead5b790a7590 /src/cowboy_http_protocol.erl
parent67e5713b2bd353e8cc22d91ab2b9773540a9764d (diff)
downloadcowboy-16d3cb76c7b7d82301ab6542f8c6e94a4ee358d5.tar.gz
cowboy-16d3cb76c7b7d82301ab6542f8c6e94a4ee358d5.tar.bz2
cowboy-16d3cb76c7b7d82301ab6542f8c6e94a4ee358d5.zip
Rename the type http_status/0 to cowboy_http:status/0
Diffstat (limited to 'src/cowboy_http_protocol.erl')
-rw-r--r--src/cowboy_http_protocol.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http_protocol.erl b/src/cowboy_http_protocol.erl
index fd987f2..a714111 100644
--- a/src/cowboy_http_protocol.erl
+++ b/src/cowboy_http_protocol.erl
@@ -403,7 +403,7 @@ ensure_response(#http_req{socket=Socket, transport=Transport,
close.
%% Only send an error reply if there is no resp_sent message.
--spec error_terminate(http_status(), #state{}) -> ok.
+-spec error_terminate(cowboy_http:status(), #state{}) -> ok.
error_terminate(Code, State=#state{socket=Socket, transport=Transport}) ->
receive
{cowboy_http_req, resp_sent} -> ok