Skip to content

Commit

Permalink
new split invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cliff Moon committed Jul 16, 2009
1 parent eed550f commit 96ef05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/janus_flash.erl
Expand Up @@ -55,7 +55,7 @@ process(<<"<regular-socket/>", 0, Bin/binary>>, State) ->

process(Bin, State)
when is_binary(Bin) ->
process(bin:split("\\000", Bin), State);
process(bin:split(0, Bin), State);

process({more, Bin}, State) ->
{ok, keep_alive, State#state{data = Bin}};
Expand Down

0 comments on commit 96ef05f

Please sign in to comment.