summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-10-12 11:14:52 +0100
committersin <sin@2f30.org>2014-10-12 11:14:52 +0100
commitee32dd0a14d8a628e46715bb01f0e54918f7de45 (patch)
treeed6d486e6329851b7ef361697c56ac478415bd3e /ratox.c
parent0b4875688bb33ebcf3ea35211b723ff2ef364e95 (diff)
tox_is_data_encrypted() was renamed to tox_is_save_encrypted()
Diffstat (limited to 'ratox.c')
-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 ||