summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);