mirror of https://git.kore.io/kore.git
Set socklen to 0 by default in pysocket_async_recv().
This commit is contained in:
parent
a65be853f0
commit
78d667abc7
|
@ -3654,6 +3654,8 @@ pysocket_async_recv(struct pysocket_op *op)
|
|||
Py_RETURN_NONE;
|
||||
}
|
||||
|
||||
socklen = 0;
|
||||
|
||||
for (;;) {
|
||||
switch (op->type) {
|
||||
case PYSOCKET_TYPE_RECV:
|
||||
|
|
Loading…
Reference in New Issue