Setup ropr buffer sizes for rsync operations

This commit is contained in:
Kovid Goyal
2021-09-19 17:19:34 +05:30
parent 85be3e4ed1
commit 1d1d82ca50
3 changed files with 20 additions and 9 deletions

View File

@@ -64,7 +64,7 @@ begin_create_signature(PyObject *self UNUSED, PyObject *args) {
}
#endif
CREATE_JOB(rs_sig_begin, NULL, block_len, strong_len, magic_number);
return job_capsule;
return Py_BuildValue("Nnn", job_capsule, (Py_ssize_t)block_len, (Py_ssize_t)strong_len);
}
#define GET_JOB_FROM_CAPSULE \