BUGFIX:修复expr_plus类型扫描误命中bug,原因是进行MAAT_SET_SCAN_DISTRICT时,如果district不存在,导致本次扫描时,错误的使用上次的district_id,进而误命中。

This commit is contained in:
zhengchao
2017-02-17 18:16:37 +08:00
parent bad140f8df
commit b870440d21
2 changed files with 2 additions and 1 deletions

View File

@@ -1560,6 +1560,7 @@ int Maat_set_scan_status(Maat_feather_t feather,scan_status_t* mid,enum MAAT_SCA
if(map_ret<0)
{
//May be the district is not effected yet.
_mid->district_id=-1;
}
_mid->is_set_district=1;
break;