diff options
Diffstat (limited to 'cmd/cmd_dumpx.c')
-rw-r--r-- | cmd/cmd_dumpx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/cmd_dumpx.c b/cmd/cmd_dumpx.c index ecca20c..452010f 100644 --- a/cmd/cmd_dumpx.c +++ b/cmd/cmd_dumpx.c @@ -21,11 +21,11 @@ int c_dumpx( cmd_arg_t *arg ) return -1; } - for (i=0; i<g_buf->size(); i+=16) + for (i=0; i<g_buf->cursize(); i+=16) { for (j=i; j<i+16; j++) { - if ( j<g_buf->size() ) + if ( j<g_buf->cursize() ) { char c; g_buf->getc(j,&c); |