mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-06 21:26:34 +01:00
ignore tox_load errors until toxcore is fixed
This commit is contained in:
@@ -690,11 +690,8 @@ static void load_data(Tox *m, char *path)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (tox_load(m, (uint8_t *) buf, len) != 0) {
|
||||
fclose(fd);
|
||||
free(buf);
|
||||
exit_toxic_err("failed in load_data", FATALERR_FILEOP);
|
||||
}
|
||||
/* tox_load errors are to be ignored until toxcore is fixed */
|
||||
tox_load(m, (uint8_t *) buf, len);
|
||||
}
|
||||
|
||||
load_friendlist(m);
|
||||
|
||||
Reference in New Issue
Block a user