0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Fix a small edoc issue

This commit is contained in:
Loïc Hoguin 2012-09-29 13:16:48 +02:00
parent ce9aff19f0
commit b4d1407d63

View file

@ -1228,7 +1228,7 @@ parse_connection_after(<< C, Rest/bits >>, Acc)
%% @doc Walk through a tokens list and return whether %% @doc Walk through a tokens list and return whether
%% the connection is keepalive or closed. %% the connection is keepalive or closed.
%% %%
%% We don't match on <<"keep-alive">> since it is the default value. %% We don't match on "keep-alive" since it is the default value.
-spec connection_to_atom([binary()]) -> keepalive | close. -spec connection_to_atom([binary()]) -> keepalive | close.
connection_to_atom([]) -> connection_to_atom([]) ->
keepalive; keepalive;