diff options
Diffstat (limited to 'cmd_parse.c')
-rw-r--r-- | cmd_parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd_parse.c b/cmd_parse.c index 96438c7..fc65bf6 100644 --- a/cmd_parse.c +++ b/cmd_parse.c @@ -127,7 +127,7 @@ int parse_cmd( cmd_tok_t *tl, const char *str, size_t str_size ) char *ts, *te = 0; /*save for cmd_begin state*/ - char *ts_cb=0, *te_cb=0; + //char *ts_cb=0, *te_cb=0; printf("PE:%s %02x\n",pe,(unsigned char)*pe); @@ -324,7 +324,7 @@ _again: if ( cs == cmd_error ) { - printf("CLIPARSE ERR state [%d] pos[%d]:[%s]\n", res, p-str, p); + printf("CLIPARSE ERR state [%d] pos[%ld]:[%s]\n", res, p-str, p); res = -1; } |