mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-20 07:46:35 +02:00
Fixed possible bug.
This commit is contained in:
@ -271,7 +271,7 @@ int store_data(Tox *m, char *path)
|
||||
|
||||
tox_save(m, buf);
|
||||
|
||||
fd = fopen(path, "w");
|
||||
fd = fopen(path, "wb");
|
||||
|
||||
if (fd == NULL) {
|
||||
free(buf);
|
||||
|
Reference in New Issue
Block a user