aboutsummaryrefslogtreecommitdiffstats
path: root/src/cow_spdy.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cow_spdy.erl')
-rw-r--r--src/cow_spdy.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cow_spdy.erl b/src/cow_spdy.erl
index 2dc1027..59036ee 100644
--- a/src/cow_spdy.erl
+++ b/src/cow_spdy.erl
@@ -55,8 +55,8 @@ split(Data = << _:40, Length:24, _/bits >>)
Length2 = Length + 8,
<< Frame:Length2/binary, Rest/bits >> = Data,
{true, Frame, Rest};
-split(Data) ->
- {false, Data}.
+split(_) ->
+ false.
parse(<< 0:1, StreamID:31, 0:7, IsFinFlag:1, _:24, Data/bits >>, _) ->
{data, StreamID, from_flag(IsFinFlag), Data};