Fix socket.recv() buffer length from e23bad3a

This commit is contained in:
Nick Moore 2019-04-16 17:57:05 +10:00
parent dc7603155d
commit 58d1d99701

View File

@ -248,7 +248,7 @@ STATIC mp_int_t _socket_recv_into(mod_network_socket_obj_t *sock, byte *buf, mp_
if (ret == -1) { if (ret == -1) {
mp_raise_OSError(_errno); mp_raise_OSError(_errno);
} }
return len; return ret;
} }