net/udp: fix nxstyle warning
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
7a62a59dec
commit
87af256ad6
@ -778,7 +778,9 @@ int udp_bind(FAR struct udp_conn_s *conn, FAR const struct sockaddr *addr)
|
|||||||
|
|
||||||
net_lock();
|
net_lock();
|
||||||
|
|
||||||
/* Is any other UDP connection already bound to this address and port? */
|
/* Is any other UDP connection already bound to this address
|
||||||
|
* and port ?
|
||||||
|
*/
|
||||||
|
|
||||||
if (udp_find_conn(conn->domain, &conn->u, portno) == NULL)
|
if (udp_find_conn(conn->domain, &conn->u, portno) == NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user