mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Revert "print message with nwarn to avoid constantly printout."
This reverts commit 85d38b9348.
Change-Id: I49cb4b03d652430e3bc58cfa4ac6303701e417d1
This commit is contained in:
@@ -160,7 +160,7 @@ psock_stream_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len,
|
||||
ret = local_sync(&conn->lc_infile);
|
||||
if (ret < 0)
|
||||
{
|
||||
nwarn("ERROR: Failed to get packet length: %d\n", ret);
|
||||
nerr("ERROR: Failed to get packet length: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
else if (ret > UINT16_MAX)
|
||||
@@ -282,7 +282,7 @@ psock_dgram_recvfrom(FAR struct socket *psock, FAR void *buf, size_t len,
|
||||
ret = local_sync(&conn->lc_infile);
|
||||
if (ret < 0)
|
||||
{
|
||||
nwarn("ERROR: Failed to get packet length: %d\n", ret);
|
||||
nerr("ERROR: Failed to get packet length: %d\n", ret);
|
||||
goto errout_with_infd;
|
||||
}
|
||||
else if (ret > UINT16_MAX)
|
||||
|
||||
Reference in New Issue
Block a user