|
|
@ -1,5 +1,5 @@
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2006-2019, RT-Thread Development Team
|
|
|
|
* Copyright (c) 2006-2022, RT-Thread Development Team
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
*
|
|
|
@ -270,7 +270,7 @@ static int webclient_resolve_address(struct webclient_session *session, struct a
|
|
|
|
goto __exit;
|
|
|
|
goto __exit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
memcpy(host_addr_new, host_addr, host_addr_len);
|
|
|
|
rt_memcpy(host_addr_new, host_addr, host_addr_len);
|
|
|
|
host_addr_new[host_addr_len] = '\0';
|
|
|
|
host_addr_new[host_addr_len] = '\0';
|
|
|
|
session->host = host_addr_new;
|
|
|
|
session->host = host_addr_new;
|
|
|
|
}
|
|
|
|
}
|
|
|
|