Update at_socket.c
This commit is contained in:
parent
fa46d6ac86
commit
c7382c1da4
|
@ -855,7 +855,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 = RT_NULL;
|
||||
int len, result = 0;
|
||||
int len = 0, result = 0;
|
||||
|
||||
if (data == RT_NULL || size == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue