mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
net/rpmsg: fix typo in comment
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -324,7 +324,7 @@ static int rpmsg_socket_ept_cb(FAR struct rpmsg_endpoint *ept,
|
||||
|
||||
if (len == msg->len)
|
||||
{
|
||||
/* SOCOK_STREAM */
|
||||
/* SOCK_STREAM */
|
||||
|
||||
conn->recvpos += conn->recvlen;
|
||||
memcpy(conn->recvdata, buf, conn->recvlen);
|
||||
@@ -333,7 +333,7 @@ static int rpmsg_socket_ept_cb(FAR struct rpmsg_endpoint *ept,
|
||||
}
|
||||
else
|
||||
{
|
||||
/* SOCOK_DGRAM */
|
||||
/* SOCK_DGRAM */
|
||||
|
||||
conn->recvpos += len;
|
||||
memcpy(conn->recvdata, buf + sizeof(uint32_t),
|
||||
|
||||
Reference in New Issue
Block a user