mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-19 23:36:36 +02:00
small fix
This commit is contained in:
@ -440,7 +440,7 @@ static void load_data(Tox *m, char *path)
|
||||
} else {
|
||||
int st;
|
||||
|
||||
if ((st = store_data(m, path)) == 0)
|
||||
if ((st = store_data(m, path)) != 0)
|
||||
exit_toxic_err("failed in load_data", FATALERR_STORE_DATA);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user