summaryrefslogtreecommitdiff
path: root/examples/network/tcpsendpacket.c
diff options
context:
space:
mode:
authorshandianchengzi <[email protected]>2023-05-18 22:42:44 +0800
committerGitHub <[email protected]>2023-05-18 10:42:44 -0400
commita294d7da9a9be335dd8bae8bf688ce88fa58a83f (patch)
tree0b7c21221e70be410523a04a3891ad70650fabe3 /examples/network/tcpsendpacket.c
parentc349fe68b8046a54aa33cdfd7471a6e2effe7cae (diff)
[HUST CSE][example] fix some typo bugs about 'sucess' and others. (#7528)
Diffstat (limited to 'examples/network/tcpsendpacket.c')
-rw-r--r--examples/network/tcpsendpacket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/tcpsendpacket.c b/examples/network/tcpsendpacket.c
index da8bc4f524..f608f5173f 100644
--- a/examples/network/tcpsendpacket.c
+++ b/examples/network/tcpsendpacket.c
@@ -76,7 +76,7 @@ void tcp_senddata(const char *url, int port, int length)
else if (result == 0)
{
/* 打印send函数返回值为0的警告信息 */
- rt_kprintf("\n Send warning,send function return 0.\r\n");
+ rt_kprintf("\n Send warning,send function returns 0.\r\n");
}
}
}