Set socklen to 0 by default in pysocket_async_recv().

This commit is contained in:
Joris Vink 2022-02-20 21:30:17 +01:00
parent a65be853f0
commit 78d667abc7
1 changed files with 2 additions and 0 deletions

View File

@ -3654,6 +3654,8 @@ pysocket_async_recv(struct pysocket_op *op)
Py_RETURN_NONE;
}
socklen = 0;
for (;;) {
switch (op->type) {
case PYSOCKET_TYPE_RECV: