bc: do not append duplicate NUL, reduce indentation in bc_read_line()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -1407,10 +1407,9 @@ static void bc_read_line(BcVec *vec)
|
|||||||
vec->len = len;
|
vec->len = len;
|
||||||
goto again;
|
goto again;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
bc_vec_pushZeroByte(vec);
|
bc_vec_pushZeroByte(vec);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static char* bc_read_file(const char *path)
|
static char* bc_read_file(const char *path)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user