Add comment
This commit is contained in:
1 parent
9dbc48aa5d
commit
fec6b42260
1 file changed
+1
@@ -464,6 +464,7 @@ m_bstring_fread(m_bstring_t v, FILE *f, size_t num)
|
|||||||
M_BSTRING_CONTRACT (v);
|
M_BSTRING_CONTRACT (v);
|
||||||
M_ASSERT (f != NULL);
|
M_ASSERT (f != NULL);
|
||||||
m_bstring_reset(v);
|
m_bstring_reset(v);
|
||||||
|
//TODO: option to read all the file num=-1?
|
||||||
if (M_UNLIKELY(num == 0)) {
|
if (M_UNLIKELY(num == 0)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user