From d3dcaf109b225b1384fad5b17dbae9c4888c40ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 27 Aug 2012 13:28:57 +0200 Subject: Rename cowboy_http_req to cowboy_req --- test/websocket_handler_init_shutdown.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/websocket_handler_init_shutdown.erl') diff --git a/test/websocket_handler_init_shutdown.erl b/test/websocket_handler_init_shutdown.erl index 9d6c475..371c34b 100644 --- a/test/websocket_handler_init_shutdown.erl +++ b/test/websocket_handler_init_shutdown.erl @@ -17,7 +17,7 @@ terminate(_Req, _State) -> exit(badarg). websocket_init(_TransportName, Req, _Opts) -> - {ok, Req2} = cowboy_http_req:reply(403, Req), + {ok, Req2} = cowboy_req:reply(403, Req), {shutdown, Req2}. websocket_handle(_Frame, _Req, _State) -> -- cgit v1.2.3