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

core API function name change

This commit is contained in:
Jfreegman 2014-10-10 22:44:05 -04:00
parent d26c8fe447
commit 4e9f125e95
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -648,7 +648,7 @@ static void load_data(Tox *m, char *path)
exit_toxic_err("failed in load_data", FATALERR_FILEOP); exit_toxic_err("failed in load_data", FATALERR_FILEOP);
} }
bool is_encrypted = tox_is_data_encrypted((uint8_t *) buf); bool is_encrypted = tox_is_save_encrypted((uint8_t *) buf);
/* attempt to encrypt an already encrypted data file */ /* attempt to encrypt an already encrypted data file */
if (arg_opts.encrypt_data && is_encrypted) if (arg_opts.encrypt_data && is_encrypted)