Bug修复:在append多条配置时,只有第一条写入成功。

This commit is contained in:
zhengchao
2018-09-30 16:54:52 +08:00
parent 0f554ff950
commit 6b1e8d5866
2 changed files with 14 additions and 10 deletions

View File

@@ -2223,7 +2223,7 @@ int Maat_cmd_commit(Maat_feather_t feather)
s_rule=(struct serial_rule_t*)calloc(sizeof(struct serial_rule_t),serial_rule_num);
for(i=0,p=_feather->cmd_qhead;i<_feather->cmd_q_cnt;i++)
{
{
serial_rule_idx+=build_serial_rule(_feather,p,s_rule+serial_rule_idx, serial_rule_num-serial_rule_idx);
p=p->next;
}