zs39 commented on code in PR #3313:
URL: https://github.com/apache/nuttx-apps/pull/3313#discussion_r2686126272
##########
netutils/netlib/netlib_checkhttpconnectivity.c:
##########
@@ -224,7 +224,7 @@ int netlib_check_httpconnectivity(FAR const char *host,
ret = connect(sock, (struct sockaddr *)&server_addr, sizeof(server_addr));
if (ret < 0)
{
- perror("Connection failed");
+ nerr("Connection failed");
Review Comment:
The string corresponding to errno has been added for printing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]