...
This commit is contained in:
parent
8d4fe0e821
commit
f305b03897
1 changed files with 1 additions and 1 deletions
|
|
@ -548,7 +548,7 @@ add_signature_data(Differ *self, PyObject *args) {
|
|||
|
||||
static PyObject*
|
||||
finish_signature_data(Differ *self, PyObject *args UNUSED) {
|
||||
if (self->buf.len > 0) { PyErr_Format(RsyncError, "%zu bytes of unused delta data", self->buf.len); return NULL; }
|
||||
if (self->buf.len > 0) { PyErr_Format(RsyncError, "%zu bytes of unused signature data", self->buf.len); return NULL; }
|
||||
self->buf.len = 0;
|
||||
self->buf.cap = 8 * self->rsync.block_size;
|
||||
self->buf.data = realloc(self->buf.data, self->buf.cap);
|
||||
|
|
|
|||
Loading…
Reference in a new issue