diff options
author | FreeArtMan <dos21h@gmail.com> | 2019-09-29 11:20:21 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2019-09-29 11:20:21 +0100 |
commit | f85459ba90ab2725e017b1c278e708127b264a19 (patch) | |
tree | e26a6d2c03b139d18eb27fb7b5d0de411a0b91a6 /cmd/cmd_dumps.c | |
parent | b2e56967c45bd8de265e8863d9c94dec72d124ce (diff) | |
download | ihe-f85459ba90ab2725e017b1c278e708127b264a19.tar.gz ihe-f85459ba90ab2725e017b1c278e708127b264a19.zip |
Print curent buffer size
Diffstat (limited to 'cmd/cmd_dumps.c')
-rw-r--r-- | cmd/cmd_dumps.c | 2 |
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); |