Commit 95766ac0 authored by Victor Stinner's avatar Victor Stinner

fix indentation

parent 5a3054d2
...@@ -1275,19 +1275,19 @@ mbstreamreader_iread(MultibyteStreamReaderObject *self, ...@@ -1275,19 +1275,19 @@ mbstreamreader_iread(MultibyteStreamReaderObject *self,
if (PyBytes_GET_SIZE(cres) > PY_SSIZE_T_MAX - self->pendingsize) { if (PyBytes_GET_SIZE(cres) > PY_SSIZE_T_MAX - self->pendingsize) {
PyErr_NoMemory(); PyErr_NoMemory();
goto errorexit; goto errorexit;
} }
rsize = PyBytes_GET_SIZE(cres) + self->pendingsize; rsize = PyBytes_GET_SIZE(cres) + self->pendingsize;
ctr = PyBytes_FromStringAndSize(NULL, rsize); ctr = PyBytes_FromStringAndSize(NULL, rsize);
if (ctr == NULL) if (ctr == NULL)
goto errorexit; goto errorexit;
ctrdata = PyBytes_AS_STRING(ctr); ctrdata = PyBytes_AS_STRING(ctr);
memcpy(ctrdata, self->pending, self->pendingsize); memcpy(ctrdata, self->pending, self->pendingsize);
memcpy(ctrdata + self->pendingsize, memcpy(ctrdata + self->pendingsize,
PyBytes_AS_STRING(cres), PyBytes_AS_STRING(cres),
PyBytes_GET_SIZE(cres)); PyBytes_GET_SIZE(cres));
Py_DECREF(cres); Py_DECREF(cres);
cres = ctr; cres = ctr;
self->pendingsize = 0; self->pendingsize = 0;
} }
rsize = PyBytes_GET_SIZE(cres); rsize = PyBytes_GET_SIZE(cres);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment