diff options
| author | Bas Westerbaan <bas@westerbaan.name> | 2014-06-14 18:25:34 +0200 |
|---|---|---|
| committer | Bas Westerbaan <bas@westerbaan.name> | 2014-06-14 18:25:34 +0200 |
| commit | 67391fd60e2285067a6cbd7392ef0a603875cc59 (patch) | |
| tree | e59e83269b711da85779c1f062206de48252d7c4 /msgpack | |
| parent | 4d4a0cc4425b38b1a928ef80ee8963a6b259c316 (diff) | |
| download | msgpack-python-67391fd60e2285067a6cbd7392ef0a603875cc59.tar.gz | |
fallback: add missing update of _fb_buf_n
Diffstat (limited to 'msgpack')
| -rw-r--r-- | msgpack/fallback.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/msgpack/fallback.py b/msgpack/fallback.py index 49323e6..d326885 100644 --- a/msgpack/fallback.py +++ b/msgpack/fallback.py @@ -252,6 +252,7 @@ class Unpacker(object): if not tmp: break buffs.append(tmp) + self._fb_buf_n += len(tmp) continue sliced = n - len(ret) ret += buffs[self._fb_buf_i][self._fb_buf_o:self._fb_buf_o + sliced] |
