minor code change
This commit is contained in:
parent
a1b942f80d
commit
8236963ec9
@ -1907,7 +1907,7 @@ redo:
|
||||
len = max;
|
||||
}
|
||||
|
||||
newcapa = MOO_ALIGN_POW2(moo->log.len + len, 512); /* TODO: adjust this capacity */
|
||||
newcapa = MOO_ALIGN_POW2(moo->log.len + len, MOO_LOG_CAPA_ALIGN);
|
||||
if (newcapa > moo->option.log_maxcapa)
|
||||
{
|
||||
/* [NOTE]
|
||||
|
Loading…
Reference in New Issue
Block a user