未验证 提交 5066ba6a 编写于 作者: H HubretXie 提交者: GitHub

Update at_socket.c

修复sock未初始化使用的问题
上级 24c9e8cb
......@@ -737,7 +737,7 @@ int at_recv(int s, void *mem, size_t len, int flags)
int at_sendto(int socket, const void *data, size_t size, int flags, const struct sockaddr *to, socklen_t tolen)
{
struct at_socket *sock;
struct at_socket *sock = RT_NULL;
int len, result = 0;
if (at_dev_ops == RT_NULL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册