diff options
Diffstat (limited to 'cmd/cmd_dump.c')
-rw-r--r-- | cmd/cmd_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cmd_dump.c b/cmd/cmd_dump.c index 999822e..1f6ac41 100644 --- a/cmd/cmd_dump.c +++ b/cmd/cmd_dump.c @@ -18,7 +18,7 @@ int c_dump( 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); |