You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/12/29 07:01:18 UTC
[GitHub] [incubator-nuttx-apps] normanr opened a new pull request #945: examples/mqttc: Fix handling of getaddrinfo errors
normanr opened a new pull request #945:
URL: https://github.com/apache/incubator-nuttx-apps/pull/945
## Summary
commit 36d4bfa7749ecd48ace51eddb613418350c614d7 set a hostname to work around getaddrinfo failing. getaddrinfo returns a non-zero value on error, and there should be an early return after the error message is printed.
## Impact
mqttc no longer crashes when getaddrinfo fails.
## Testing
Tested on a bl602 microcontroller.
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx-apps] xiaoxiang781216 merged pull request #945: examples/mqttc: Fix handling of getaddrinfo errors
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #945:
URL: https://github.com/apache/incubator-nuttx-apps/pull/945
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org