diff --git a/coreapi/lpconfig.c b/coreapi/lpconfig.c index a0859a2997e3dd878c00e518c2be63fd877e8ba5..d12166ec49209b4a1265596a198c680aa8cd17d9 100644 --- a/coreapi/lpconfig.c +++ b/coreapi/lpconfig.c @@ -138,18 +138,15 @@ LpItem *lp_section_find_item(LpSection *sec, const char *name){ } void lp_config_parse(LpConfig *lpconfig, FILE *file){ - ms_error("Entering lp_config_parse"); char tmp[MAX_LEN]= {'\0'}; LpSection *cur=NULL; if (file==NULL) return; - ms_message("Entering While"); while(fgets(tmp,MAX_LEN,file)!=NULL){ tmp[sizeof(tmp) -1] = '\0'; char *pos1,*pos2; pos1=strchr(tmp,'['); - ms_message("Pos1 = %s", pos1); if (pos1!=NULL && is_first_char(tmp,pos1) ){ pos2=strchr(pos1,']'); if (pos2!=NULL){