mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-11-24 21:20:12 +00:00
clean read_config
This commit is contained in:
parent
6f2c2f9d5b
commit
e72386a89d
@ -41,7 +41,7 @@ int read_config_file() {
|
||||
|
||||
strcpy(configs[i],value.c_str());
|
||||
setConfigValues(name.c_str(),configs[i]);
|
||||
std::cout << name << " " << value << '\n';
|
||||
//std::cout << name << " " << value << '\n';
|
||||
++i;
|
||||
}
|
||||
|
||||
@ -78,7 +78,7 @@ const char* get_config_file(const char* file){
|
||||
}
|
||||
snprintf(a,BUFSIZE,"%s%s%s",homedir,"/",file);
|
||||
|
||||
printf(" from %s \n",a);
|
||||
//printf(" from %s \n",a);
|
||||
return (const char*)a;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user