summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-09-22 12:22:30 +0100
committersin <sin@2f30.org>2014-09-22 12:22:30 +0100
commitc172129d1e28cf27ccb5d30f0648a73a726dc94e (patch)
tree1644572bbe5beb901fd8578a2b6cae6bf4e4c03f /ratox.c
parent97db3dcc86b5d78dde1a752f2c141f322d4a77f2 (diff)
Oops
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 ee97466..bf2121e 100644
--- a/ratox.c
+++ b/ratox.c
@@ -612,7 +612,7 @@ dataload(void)
}
if (encryptsave == 1) {
- while (readpass() == -1 &&
+ while (readpass() == -1 ||
tox_encrypted_load(tox, data, sz, passphrase, pplen) < 0)
;
} else {