net/udp: Fix a backward conditional test added in commit 434da18cd7
.
This commit is contained in:
parent
745a498ce2
commit
119ce8730f
@ -704,7 +704,7 @@ ssize_t psock_udp_sendto(FAR struct socket *psock, FAR const void *buf,
|
||||
/* Initialize the write buffer */
|
||||
/* Check if the socket is connected */
|
||||
|
||||
if (!_SS_ISCONNECTED(psock->s_flags))
|
||||
if (_SS_ISCONNECTED(psock->s_flags))
|
||||
{
|
||||
/* Yes.. get the connection address from the connection structure */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user