From 4e9f125e956a5efd566dbf46c2393468d577b570 Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Fri, 10 Oct 2014 22:44:05 -0400 Subject: [PATCH] core API function name change --- src/toxic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toxic.c b/src/toxic.c index 3f6a418..57299e1 100644 --- a/src/toxic.c +++ b/src/toxic.c @@ -648,7 +648,7 @@ static void load_data(Tox *m, char *path) 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 */ if (arg_opts.encrypt_data && is_encrypted)