zephyr/modusocket: getaddrinfo: Fix mp_obj_len() usage.
Return value is mp_obj_t, so needs to be accessed using MP_OBJ_SMALL_INT_VALUE().
Showing
Please register or sign in to comment
Return value is mp_obj_t, so needs to be accessed using MP_OBJ_SMALL_INT_VALUE().