From 004e79d5d5c217dbbf1dba88833dbab76b34cc16 Mon Sep 17 00:00:00 2001 From: zhengchao Date: Mon, 17 Dec 2018 15:49:18 +0600 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BB=8Eredis=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E8=BF=87=E7=A8=8B=E4=B8=AD=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E6=9C=AA=E5=8A=A0=E8=BD=BD=E6=88=90=E5=8A=9F=E7=9A=84=E8=AF=AF?= =?UTF-8?q?=E5=AF=BC=E6=80=A7=E6=97=A5=E5=BF=97=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entry/Maat_api.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/entry/Maat_api.cpp b/src/entry/Maat_api.cpp index e13d68a..3051a7c 100644 --- a/src/entry/Maat_api.cpp +++ b/src/entry/Maat_api.cpp @@ -730,7 +730,7 @@ void maat_read_full_config(_Maat_feather_t* _feather) _feather->decrypt_key, //Not used. _feather); } - if(_feather->update_tmp_scanner) + if(_feather->update_tmp_scanner==NULL) { MESA_handle_runtime_log(_feather->logger,RLOG_LV_FATAL,maat_module , "At initiation: no avilable rule in redis %s:%hu db%d", @@ -748,7 +748,7 @@ void maat_read_full_config(_Maat_feather_t* _feather) _feather, _feather->decrypt_key, _feather->logger); - if(!_feather->update_tmp_scanner) + if(_feather->update_tmp_scanner==NULL) { MESA_handle_runtime_log(_feather->logger,RLOG_LV_FATAL,maat_module , "At initiation: NO effective rule in %s.", @@ -764,7 +764,7 @@ void maat_read_full_config(_Maat_feather_t* _feather) _feather, _feather->decrypt_key, _feather->logger); - if(!_feather->update_tmp_scanner) + if(_feather->update_tmp_scanner==NULL) { MESA_handle_runtime_log(_feather->logger,RLOG_LV_FATAL,maat_module , "At initiation: NO efffective rule in JSON generate %s.",