From a89ff7a2f16b88fade750ec2a6988673e4dbef51 Mon Sep 17 00:00:00 2001 From: zhengchao Date: Mon, 26 Dec 2016 16:27:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=A2=E5=BC=95=E6=96=87=E4=BB=B6=E4=B8=AD?= =?UTF-8?q?=E5=85=81=E8=AE=B8=E6=9C=890=E4=B8=AA=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entry/config_monitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entry/config_monitor.cpp b/src/entry/config_monitor.cpp index 85a215e..7582077 100644 --- a/src/entry/config_monitor.cpp +++ b/src/entry/config_monitor.cpp @@ -207,7 +207,7 @@ int cm_read_cfg_index_file(const char* path,struct cm_table_info_t* idx,int size ret=fscanf(fp,"%s\t%d\t%s",idx[i].table_name ,&(idx[i].cfg_num) ,idx[i].cfg_path); - if(ret==3&&idx[i].cfg_num>0)//jump over empty line + if(ret==3&&idx[i].cfg_num>=0)//jump over empty line { i++; }