summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ratox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ratox.c b/ratox.c
index 83c2c12..1b54f9f 100644
--- a/ratox.c
+++ b/ratox.c
@@ -1106,7 +1106,7 @@ dataload(void)
if (read(fd, data, sz) != sz)
eprintf("read %s:", DATAFILE);
- if (tox_is_data_encrypted(data) == 1) {
+ if (tox_is_save_encrypted(data) == 1) {
if (encryptdatafile == 0)
printout("Data : %s > Encrypted, but saving unencrypted\n", DATAFILE);
while (readpass("Data : Passphrase > ") < 0 ||