Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/src/sm_at_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,7 @@ static int do_recvfrom(struct sm_socket *sock, int timeout, int flags,
{
int ret;
struct net_sockaddr remote;
net_socklen_t addrlen = sizeof(struct nrf_sockaddr);
net_socklen_t addrlen = sizeof(struct net_sockaddr);
struct timeval tmo = {.tv_sec = timeout};

ret = nrf_setsockopt(sock->fd, NRF_SOL_SOCKET, NRF_SO_RCVTIMEO, &tmo, sizeof(tmo));
Expand Down