summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ratox.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ratox.c b/ratox.c
index 77e14c9..69ff979 100644
--- a/ratox.c
+++ b/ratox.c
@@ -607,8 +607,11 @@ dataload(void)
}
if (encryptsave == 1) {
- if (tox_is_data_encrypted(data) == 0)
+ if (tox_is_data_encrypted(data) == 0) {
+ printout("%s is not encrypted, disabling encryption\n",
+ DATAFILE);
encryptsave = 0;
+ }
} else {
if (tox_is_data_encrypted(data) == 1) {
fprintf(stderr, "Unable to load %s, it is encrypted\n",