mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 10:33:12 +02:00
...
This commit is contained in:
parent
724354ff47
commit
ae7f6613b4
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ speedup_websocket_mask(PyObject *self, PyObject *args) {
|
|||
Py_ssize_t offset_ = 0;
|
||||
size_t offset = 0, i = 0;
|
||||
char *data_buf = NULL, *mask_buf = NULL, *ans_buf = NULL;
|
||||
if(!PyArg_ParseTuple(args, "OO|n", &data, &mask, &offset)) return NULL;
|
||||
if(!PyArg_ParseTuple(args, "OO|n", &data, &mask, &offset_)) return NULL;
|
||||
offset = (size_t)offset_;
|
||||
ans = PyBytes_FromStringAndSize(NULL, PyBytes_GET_SIZE(data));
|
||||
if (ans != NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue