adding add_client to server
This commit is contained in:
@@ -46,9 +46,9 @@ int update_settings() {
|
||||
get_setting("server:server_url", url);
|
||||
strcat_s(url, 500, "/api/php/settings/get_settings.php?settings");
|
||||
int res = download_file_from_srv(url, SETTINGS_DB);
|
||||
//res = 0;
|
||||
//int res = 0;
|
||||
if (res != 0) {
|
||||
log(LOGLEVEL::ERR, "[update_db()]: Error downloading settings database file from server", url, " ERROR:",res);
|
||||
log(LOGLEVEL::ERR, "[update_settings()]: Error downloading settings database file from server", url, " ERROR:",res);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user