From 978b039e3cd526a84f075cebaea69f0460aa3729 Mon Sep 17 00:00:00 2001 From: zhengchao Date: Wed, 14 Nov 2018 18:37:20 +0800 Subject: [PATCH] =?UTF-8?q?maat=20=E7=B4=A2=E5=BC=95=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E7=89=88=E6=9C=AC=E5=8F=B7=EF=BC=8C=E6=9C=80=E5=A4=A7?= =?UTF-8?q?=E6=94=AF=E6=8C=8120=E5=AD=97=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entry/config_monitor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/entry/config_monitor.cpp b/src/entry/config_monitor.cpp index b43a42b..2027546 100644 --- a/src/entry/config_monitor.cpp +++ b/src/entry/config_monitor.cpp @@ -234,10 +234,10 @@ int get_new_idx_path(long long current_version,const char*file_dir,void* logger { continue; } - if(strlen(namelist[i]->d_name)>32) + if(strlen(namelist[i]->d_name)>42) { MESA_handle_runtime_log(logger,RLOG_LV_FATAL,module_config_monitor - ,"config file %s filename too long,should like full_config_index.0000000001" + ,"config file %s filename too long,should like full_config_index.00000000000000000001" ,namelist[i]->d_name); continue; } @@ -245,7 +245,7 @@ int get_new_idx_path(long long current_version,const char*file_dir,void* logger if(sscanf_ret!=2) { MESA_handle_runtime_log(logger,RLOG_LV_FATAL,module_config_monitor - ,"config file %s filename error,should like full_config_index.0000000001" + ,"config file %s filename error,should like full_config_index.00000000000000000001" ,namelist[i]->d_name); continue; }