mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Fix typo in comment
This commit is contained in:
parent
7a4dbaf837
commit
e405037abc
1 changed files with 2 additions and 2 deletions
|
|
@ -2207,9 +2207,9 @@ sock_recv(PySocketSockObject *s, PyObject *args)
|
||||||
}
|
}
|
||||||
if (outlen != recvlen) {
|
if (outlen != recvlen) {
|
||||||
/* We did not read as many bytes as we anticipated, resize the
|
/* We did not read as many bytes as we anticipated, resize the
|
||||||
string if possible and be succesful. */
|
string if possible and be successful. */
|
||||||
if (PyBytes_Resize(buf, outlen) < 0)
|
if (PyBytes_Resize(buf, outlen) < 0)
|
||||||
/* Oopsy, not so succesful after all. */
|
/* Oopsy, not so successful after all. */
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue