aboutsummaryrefslogtreecommitdiffstats
path: root/test/handlers/loop_handler_timeout_h.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/handlers/loop_handler_timeout_h.erl')
-rw-r--r--test/handlers/loop_handler_timeout_h.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/handlers/loop_handler_timeout_h.erl b/test/handlers/loop_handler_timeout_h.erl
index 1125046..3b158bf 100644
--- a/test/handlers/loop_handler_timeout_h.erl
+++ b/test/handlers/loop_handler_timeout_h.erl
@@ -16,8 +16,7 @@ init(_, Req, _) ->
{loop, Req, undefined, 200, hibernate}.
info(timeout, Req, State) ->
- {ok, Req2} = cowboy_req:reply(500, Req),
- {ok, Req2, State}.
+ {ok, cowboy_req:reply(500, Req), State}.
terminate({normal, timeout}, _, _) ->
ok.