Commit 26862d52 authored by Simon Morlat's avatar Simon Morlat
Browse files

remove debug messages

parent 527d6cfd
No related merge requests found
Showing with 0 additions and 3 deletions
...@@ -138,18 +138,15 @@ LpItem *lp_section_find_item(LpSection *sec, const char *name){ ...@@ -138,18 +138,15 @@ LpItem *lp_section_find_item(LpSection *sec, const char *name){
} }
void lp_config_parse(LpConfig *lpconfig, FILE *file){ void lp_config_parse(LpConfig *lpconfig, FILE *file){
ms_error("Entering lp_config_parse");
char tmp[MAX_LEN]= {'\0'}; char tmp[MAX_LEN]= {'\0'};
LpSection *cur=NULL; LpSection *cur=NULL;
if (file==NULL) return; if (file==NULL) return;
ms_message("Entering While");
while(fgets(tmp,MAX_LEN,file)!=NULL){ while(fgets(tmp,MAX_LEN,file)!=NULL){
tmp[sizeof(tmp) -1] = '\0'; tmp[sizeof(tmp) -1] = '\0';
char *pos1,*pos2; char *pos1,*pos2;
pos1=strchr(tmp,'['); pos1=strchr(tmp,'[');
ms_message("Pos1 = %s", pos1);
if (pos1!=NULL && is_first_char(tmp,pos1) ){ if (pos1!=NULL && is_first_char(tmp,pos1) ){
pos2=strchr(pos1,']'); pos2=strchr(pos1,']');
if (pos2!=NULL){ if (pos2!=NULL){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment