mirror of
https://github.com/apache/nuttx.git
synced 2026-08-07 13:37:18 +00:00
net/udp: Fix a backward conditional test added in commit 434da18cd7.
This commit is contained in:
parent
745a498ce2
commit
119ce8730f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue