mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
net/udp: fix nxstyle warning
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
+3
-1
@@ -778,7 +778,9 @@ int udp_bind(FAR struct udp_conn_s *conn, FAR const struct sockaddr *addr)
|
||||
|
||||
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user