summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2019-09-29 11:20:21 +0100
committerFreeArtMan <dos21h@gmail.com>2019-09-29 11:20:21 +0100
commitf85459ba90ab2725e017b1c278e708127b264a19 (patch)
treee26a6d2c03b139d18eb27fb7b5d0de411a0b91a6 /cmd
parentb2e56967c45bd8de265e8863d9c94dec72d124ce (diff)
downloadihe-f85459ba90ab2725e017b1c278e708127b264a19.tar.gz
ihe-f85459ba90ab2725e017b1c278e708127b264a19.zip
Print curent buffer size
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cmd_dumps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cmd_dumps.c b/cmd/cmd_dumps.c
index 61d4c84..9f3a18d 100644
--- a/cmd/cmd_dumps.c
+++ b/cmd/cmd_dumps.c
@@ -20,7 +20,7 @@ int c_dumps( cmd_arg_t *arg )
return -1;
}
- for (i=0; i<g_buf->size(); i++)
+ for (i=0; i<g_buf->cursize(); i++)
{
char c;
g_buf->getc(i,&c);