merge from open-source master
Change-Id: I408b5705b18d9e93e66bfbfeec0e3baefd618dec
This commit is contained in:
commit
e8f79c1f5d
@ -317,7 +317,7 @@ line_parser_addc( LineParser* p, int c )
|
||||
static int
|
||||
line_parser_getc( LineParser* p )
|
||||
{
|
||||
if (p->in_len >= p->in_pos) {
|
||||
if (p->in_pos >= p->in_len) {
|
||||
int ret;
|
||||
|
||||
p->in_len = p->in_pos = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user