mirror of
https://github.com/apache/nuttx.git
synced 2026-08-12 07:55:32 +00:00
- fixed wrong assert on udp dgram send
This commit is contained in:
parent
40433bd7f7
commit
8f91c73304
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ ssize_t psock_udp_send(FAR struct socket *psock, FAR const void *buf,
|
|||
socklen_t tolen;
|
||||
|
||||
DEBUGASSERT(psock != NULL && psock->s_crefs > 0);
|
||||
DEBUGASSERT(psock->s_type != SOCK_DGRAM);
|
||||
DEBUGASSERT(psock->s_type == SOCK_DGRAM);
|
||||
|
||||
conn = (FAR struct udp_conn_s *)psock->s_conn;
|
||||
DEBUGASSERT(conn);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue