diff options
| author | 郑超 <[email protected]> | 2018-09-30 16:55:20 +0800 |
|---|---|---|
| committer | 郑超 <[email protected]> | 2018-09-30 16:55:20 +0800 |
| commit | a141d4b90ce4df3a9cf36c4bc591542e9d0880ec (patch) | |
| tree | ffdf01b4e514bc5e926866ff2534a5cce2f9a289 /src/entry/Maat_command.cpp | |
| parent | 0f554ff9503cbd15aa6697a80c1c09b03b53bbc2 (diff) | |
| parent | 6b1e8d5866439712166acc5466ced1ee4f408395 (diff) | |
Merge branch 'bugfix-error-when-append-one-more-cmd' into 'master'v2.3.1
Bug修复:在append多条配置时,只有第一条写入成功。
See merge request MESA_framework/maat!4
Diffstat (limited to 'src/entry/Maat_command.cpp')
| -rw-r--r-- | src/entry/Maat_command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entry/Maat_command.cpp b/src/entry/Maat_command.cpp index 3a30724..0e8bc64 100644 --- a/src/entry/Maat_command.cpp +++ b/src/entry/Maat_command.cpp @@ -2223,7 +2223,7 @@ int Maat_cmd_commit(Maat_feather_t feather) 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_num-serial_rule_idx);
+ serial_rule_idx+=build_serial_rule(_feather,p,s_rule+serial_rule_idx, serial_rule_num-serial_rule_idx);
p=p->next;
}
assert(serial_rule_idx==serial_rule_num);
|
