Skip to content

Commit

Permalink
Fix return spec of contextualize_frame
Browse files Browse the repository at this point in the history
  • Loading branch information
madtrick committed Jun 30, 2012
1 parent c3cfa5f commit 820d502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wsock_message.erl
Expand Up @@ -170,7 +170,7 @@ process_frame(Frame, continue_message, Message) ->
{completed, BuiltMessage}
end.

-spec contextualize_frame(Frame :: #frame{}) -> continue_close | open_continue | continue | open_close.
-spec contextualize_frame(Frame :: #frame{}) -> continue_close | open_continue | continue | open_close | control_fragment.
contextualize_frame(Frame) ->
case {Frame#frame.fin, Frame#frame.opcode} of
{1, 0} -> continue_close;
Expand Down

0 comments on commit 820d502

Please sign in to comment.