Old-Ding commented on PR #3600: URL: https://github.com/apache/nuttx-apps/pull/3600#issuecomment-4899168261
Updated in `0c9459b2`: wrapped the long SPDX copyright line that checkpatch reported and added `Signed-off-by` to the follow-up commit. Both commits now use the same Old-Ding GitHub noreply identity. For the `recv() == 0` behavior: this function expects a required SMTP server reply before every next protocol step. A zero return from `recv()` means the peer performed an orderly shutdown, so no reply was received for that step. Treating that as `ERROR` keeps the transaction from continuing after EOF and avoids checking whatever was already in `psmtp->buffer` from an earlier reply. -- 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]
