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 2024/10/08 14:33:26 UTC
(nuttx) 01/04: libc/stream: increase nput in hexdumpstream
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 127527acf609b69f9fe30df9769e466c5dff736e
Author: Xu Xingliang <xu...@xiaomi.com>
AuthorDate: Thu Apr 11 13:54:56 2024 +0800
libc/stream: increase nput in hexdumpstream
Signed-off-by: Xu Xingliang <xu...@xiaomi.com>
---
libs/libc/stream/lib_hexdumpstream.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libs/libc/stream/lib_hexdumpstream.c b/libs/libc/stream/lib_hexdumpstream.c
index 7bdcc89177..3207580720 100644
--- a/libs/libc/stream/lib_hexdumpstream.c
+++ b/libs/libc/stream/lib_hexdumpstream.c
@@ -112,6 +112,8 @@ static void hexdumpstream_putc(FAR struct lib_outstream_s *self, int ch)
{
hexdumpstream_flush(self);
}
+
+ self->nput++;
}
/****************************************************************************