修复bug:李碧发现在初始化后,首次调用maat_cmd_set_lines会段错误,这是由于写redis句柄未进行初始化导致。
This commit is contained in:
@@ -120,7 +120,7 @@ struct Maat_line_t
|
||||
{
|
||||
const char* table_name;
|
||||
const char* table_line;
|
||||
int rule_id; // for MAAT_OP_DEL, only rule_id is necessary.
|
||||
int rule_id; // for MAAT_OP_DEL, only rule_id and table_name are necessary.
|
||||
int label_id;
|
||||
int expire_after; //expired after $timeout$ seconds, set to 0 for never timeout.
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user