diff options
author | Xiao Jia <[email protected]> | 2014-01-15 16:32:20 +0800 |
---|---|---|
committer | Xiao Jia <[email protected]> | 2014-01-15 16:32:20 +0800 |
commit | b9e684eb287a5d0fdef171e3b03d11dfa66072e0 (patch) | |
tree | 9779e1ec3399413d0f98d0cc70db42a1116415ce /guide | |
parent | 723f1b1883e7834784eab772d74d9ede299f145b (diff) | |
download | ranch-b9e684eb287a5d0fdef171e3b03d11dfa66072e0.tar.gz ranch-b9e684eb287a5d0fdef171e3b03d11dfa66072e0.tar.bz2 ranch-b9e684eb287a5d0fdef171e3b03d11dfa66072e0.zip |
Update parsers.md
Change `handle_frame(Frame, Buffer)` to `handle_frame(Frame, Rest)` in the parsing binary example.
Diffstat (limited to 'guide')
-rw-r--r-- | guide/parsers.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guide/parsers.md b/guide/parsers.md index e6e9ece..c38af0c 100644 --- a/guide/parsers.md +++ b/guide/parsers.md @@ -80,7 +80,7 @@ The general idea stays the same though. << Size:32, _/bits >> = Buffer, case Buffer of << Frame:Size/binary, Rest/bits >> -> - handle_frame(Frame, Buffer); + handle_frame(Frame, Rest); _ -> get_more_data(Buffer) end. |