You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2026/10/12 01:04:50 UTC
(nuttx-apps) 01/02: netutils/netcat: Fix the nxstyle error in netcat_main.c.
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-apps.git
commit ae2dcf6b8f04885fecbd3ae34a7c45d738533f27
Author: Marco Casaroli <ma...@gmail.com>
AuthorDate: Sat Oct 10 23:42:32 2026 +0200
netutils/netcat: Fix the nxstyle error in netcat_main.c.
Add the blank line after the declarations in main(). No code change.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <ma...@gmail.com>
---
netutils/netcat/netcat_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/netutils/netcat/netcat_main.c b/netutils/netcat/netcat_main.c
index 4c5d96704..99152d3de 100644
--- a/netutils/netcat/netcat_main.c
+++ b/netutils/netcat/netcat_main.c
@@ -325,6 +325,7 @@ out:
int main(int argc, FAR char *argv[])
{
int status = EXIT_SUCCESS;
+
if (2 > argc)
{
fprintf(stderr,