From c172129d1e28cf27ccb5d30f0648a73a726dc94e Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 22 Sep 2014 12:22:30 +0100 Subject: Oops --- ratox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3