mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-20 05:56:36 +02:00
small fix
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user