clean read_config

This commit is contained in:
lakinduakash 2019-04-14 21:06:01 +05:30
parent 6f2c2f9d5b
commit e72386a89d

View File

@ -41,7 +41,7 @@ int read_config_file() {
strcpy(configs[i],value.c_str()); strcpy(configs[i],value.c_str());
setConfigValues(name.c_str(),configs[i]); setConfigValues(name.c_str(),configs[i]);
std::cout << name << " " << value << '\n'; //std::cout << name << " " << value << '\n';
++i; ++i;
} }
@ -78,7 +78,7 @@ const char* get_config_file(const char* file){
} }
snprintf(a,BUFSIZE,"%s%s%s",homedir,"/",file); snprintf(a,BUFSIZE,"%s%s%s",homedir,"/",file);
printf(" from %s \n",a); //printf(" from %s \n",a);
return (const char*)a; return (const char*)a;
} }