mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 11:23:07 +08:00
apps/graphics and netutils: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
This commit is contained in:
@@ -109,7 +109,7 @@ void netlib_server(uint16_t portno, pthread_startroutine_t handler, int stacksiz
|
||||
acceptsd = accept(listensd, (struct sockaddr*)&myaddr, &addrlen);
|
||||
if (acceptsd < 0)
|
||||
{
|
||||
nerr("accept failure: %d\n", errno);
|
||||
nerr("ERROR: accept failure: %d\n", errno);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -127,7 +127,7 @@ void netlib_server(uint16_t portno, pthread_startroutine_t handler, int stacksiz
|
||||
if (ret < 0)
|
||||
{
|
||||
close(acceptsd);
|
||||
nerr("setsockopt SO_LINGER failure: %d\n", errno);
|
||||
nerr("ERROR: setsockopt SO_LINGER failure: %d\n", errno);
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
@@ -145,7 +145,7 @@ void netlib_server(uint16_t portno, pthread_startroutine_t handler, int stacksiz
|
||||
/* Close the connection */
|
||||
|
||||
close(acceptsd);
|
||||
nerr("pthread_create failed\n");
|
||||
nerr("ERROR: pthread_create failed\n");
|
||||
|
||||
if (ret == EAGAIN)
|
||||
{
|
||||
|
Reference in New Issue
Block a user