未验证 提交 61bb8a05 编写于 作者: H HubretXie 提交者: GitHub

Update at_socket.c

at socket 接收数据正常时清除错误标识
上级 b9d63365
......@@ -700,7 +700,7 @@ __exit:
{
result = recv_len;
at_do_event_changes(sock, AT_EVENT_RECV, RT_FALSE);
errno = 0;
if (!rt_slist_isempty(&sock->recvpkt_list))
{
at_do_event_changes(sock, AT_EVENT_RECV, RT_TRUE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册