This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 3cc3da0c995d1a08fe3d2b936140b2994b22edf9 Author: Marco Casaroli <[email protected]> AuthorDate: Tue Nov 3 12:01:33 2026 +0100 net/tcp/tcp_sendfile.c: Fix an nxstyle error. Add the missing blank line after a declaration. No code change. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]> --- net/tcp/tcp_sendfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/tcp/tcp_sendfile.c b/net/tcp/tcp_sendfile.c index 980287ceaa7..edfb7ac259b 100644 --- a/net/tcp/tcp_sendfile.c +++ b/net/tcp/tcp_sendfile.c @@ -556,6 +556,7 @@ errout_locked: /* Use lseek to get the current file position */ off_t curpos = file_seek(infile, 0, SEEK_CUR); + if (curpos < 0) { return curpos;
