From ae7f6613b479ea6399512eb3e18000a44290c61a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 26 Oct 2015 15:08:02 +0530 Subject: [PATCH] ... --- src/calibre/utils/speedup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/utils/speedup.c b/src/calibre/utils/speedup.c index f794b8e8d2..bc63c1def9 100644 --- a/src/calibre/utils/speedup.c +++ b/src/calibre/utils/speedup.c @@ -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) {