From 4aabb6756264470368e6d5164babc40494c06e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 6 May 2015 17:37:20 +0300 Subject: Fix a compile error introduced in previous commit --- src/cowboy_clock.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cowboy_clock.erl b/src/cowboy_clock.erl index 9a8cea3..5d9a41a 100644 --- a/src/cowboy_clock.erl +++ b/src/cowboy_clock.erl @@ -73,7 +73,7 @@ init([]) -> -spec handle_call (stop, from(), State) -> {stop, normal, stopped, State} when State::#state{}. -handle_call(stop, _From, State=#state{tref=TRef}) -> +handle_call(stop, _From, State) -> {stop, normal, stopped, State}; handle_call(_Request, _From, State) -> {reply, ignored, State}. -- cgit v1.2.3