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

Fixed possible bug.

This commit is contained in:
irungentoo 2013-09-24 17:47:42 -04:00
parent 92ff51f335
commit 6320ea756f

View File

@ -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);