aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-05-06 17:37:20 +0300
committerLoïc Hoguin <[email protected]>2015-05-06 17:37:20 +0300
commit4aabb6756264470368e6d5164babc40494c06e55 (patch)
tree2fa55d8ebec4476c4b0a506b41237cd56115bd54 /src
parent40fa0b130c369037f580fe9b44431b17fe2456dd (diff)
downloadcowboy-4aabb6756264470368e6d5164babc40494c06e55.tar.gz
cowboy-4aabb6756264470368e6d5164babc40494c06e55.tar.bz2
cowboy-4aabb6756264470368e6d5164babc40494c06e55.zip
Fix a compile error introduced in previous commit
Diffstat (limited to 'src')
-rw-r--r--src/cowboy_clock.erl2
1 files changed, 1 insertions, 1 deletions
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}.