minor code change

This commit is contained in:
hyunghwan.chung 2019-12-14 15:35:09 +00:00
parent a1b942f80d
commit 8236963ec9

View File

@ -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]