mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 18:13:26 +01:00
small fix
This commit is contained in:
parent
7eb82a0fe5
commit
0cff881d69
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user