removed ALL forgotten (flags) parameters passed to misc functions
I mean... I hope
This commit is contained in:
parent
8363ff25ea
commit
7c87d835dd
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user