From 7c87d835dddfe2117a646afcaa76696c1597b9ae Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 10 Jul 2022 18:31:26 +0200 Subject: [PATCH] removed ALL forgotten (flags) parameters passed to misc functions I mean... I hope --- src/lib/decrypter.c | 6 +++--- src/lib/encrypter.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/decrypter.c b/src/lib/decrypter.c index 1b5b093..65408c0 100644 --- a/src/lib/decrypter.c +++ b/src/lib/decrypter.c @@ -19,19 +19,19 @@ outputFlags decryptText(char *text, char *keyNew) gettimeofday(&startTime, NULL); //CHECK FOR ACTIVE VERSION - if ((checkExitCode = checkVersion(getFlags())) != SUCCESS) + if ((checkExitCode = checkVersion()) != SUCCESS) { return noOutput(checkExitCode); } //CHECK FOR INVALID text - if ((checkExitCode = checkText(text, getFlags())) != SUCCESS) + if ((checkExitCode = checkText(text)) != SUCCESS) { return noOutput(checkExitCode); } //CHECK FOR INVALID key - if ((checkExitCode = checkKey(keyNew, getFlags())) != SUCCESS) + if ((checkExitCode = checkKey(keyNew)) != SUCCESS) { return noOutput(checkExitCode); } diff --git a/src/lib/encrypter.c b/src/lib/encrypter.c index 5ee4fec..dfc8d19 100644 --- a/src/lib/encrypter.c +++ b/src/lib/encrypter.c @@ -20,13 +20,13 @@ outputFlags encryptText(char *text, char *keyNew) gettimeofday(&startTime, NULL); //CHECK FOR ACTIVE VERSION - if ((checkExitCode = checkVersion(getFlags())) != SUCCESS) + if ((checkExitCode = checkVersion()) != SUCCESS) { return noOutput(checkExitCode); } //CHECK FOR INVALID text - if ((checkExitCode = checkText(text, getFlags())) != SUCCESS) + if ((checkExitCode = checkText(text)) != SUCCESS) { return noOutput(checkExitCode); } @@ -49,7 +49,7 @@ outputFlags encryptText(char *text, char *keyNew) if (keyNew != NULL) { //CHECK FOR INVALID key - if ((checkExitCode = checkKey(keyNew, getFlags())) != SUCCESS) + if ((checkExitCode = checkKey(keyNew)) != SUCCESS) { return noOutput(checkExitCode); }