Skip to content
Browse files

not compiling bugfix

  • Loading branch information...
1 parent 72e0a75 commit 659994646e568dcfbcdaffea78bcefae074a6571 @SergejJurecko committed Mar 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mongodb.erl
View
2 src/mongodb.erl
@@ -1372,7 +1372,7 @@ decode_value(12, <<Size:32/little-signed, Data/binary>> = Binary) when size(Bina
decode_value(13, <<_Size:32/little-signed, Data/binary>>) ->
{Code, Rest} = decode_cstring(Data, <<>>),
{{code, Code}, Rest};
-decode_value(14, _Binary) ->
+decode_value(14, <<_Size:32/little-signed, Data/binary>>) ->
{Code, Rest} = decode_cstring(Data, <<>>),
{{symbol, Code}, Rest};
decode_value(15, <<ComplSize:32/little, StrBSize:32/little,Rem/binary>>) ->

0 comments on commit 6599946

Please sign in to comment.
Something went wrong with that request. Please try again.