Permalink
Browse files

Fix stop_listener/1 spec

  • Loading branch information...
1 parent 903594b commit b72c420d58e8478950436c1005d7e69966df79f1 @sinasamavati sinasamavati committed Feb 15, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cowboy.erl
View
@@ -67,7 +67,7 @@ start_spdy(Ref, NbAcceptors, TransOpts, ProtoOpts)
ranch_ssl, TransOpts2, cowboy_spdy, ProtoOpts).
%% @doc Stop a listener.
--spec stop_listener(ranch:ref()) -> ok.
+-spec stop_listener(ranch:ref()) -> ok | {error, not_found}.
stop_listener(Ref) ->
ranch:stop_listener(Ref).

0 comments on commit b72c420

Please sign in to comment.