1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-30 02:03:27 +01:00

small fix

This commit is contained in:
Jfreegman 2014-06-18 18:07:51 -04:00
parent 7eb82a0fe5
commit 0cff881d69
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -440,7 +440,7 @@ static void load_data(Tox *m, char *path)
} else { } else {
int st; 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); exit_toxic_err("failed in load_data", FATALERR_STORE_DATA);
} }
} }