fallback: add missing update of _fb_buf_n

This commit is contained in:
Bas Westerbaan 2014-06-14 18:25:34 +02:00
parent 4d4a0cc442
commit 67391fd60e

View file

@ -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]