using inputFlags in logger
This commit is contained in:
parent
6cb9e09a87
commit
afc9d97bbb
@ -115,6 +115,9 @@ void writeLog(int loggerFile, char *logMessage)
|
|||||||
struct tm tm = *localtime(&timeL);
|
struct tm tm = *localtime(&timeL);
|
||||||
logFlags flags = getLogFlags();
|
logFlags flags = getLogFlags();
|
||||||
|
|
||||||
|
//SET ENCRYPTER FLAGS
|
||||||
|
setFlags((inputFlags) { 0, 1, 0 });
|
||||||
|
|
||||||
if (flags.key != NULL) //ENCRYPT TEXT IF KEY WAS CHANGED
|
if (flags.key != NULL) //ENCRYPT TEXT IF KEY WAS CHANGED
|
||||||
{
|
{
|
||||||
outputFlags encrypted = encryptText(logMessage, flags.key); //ENCRYPT
|
outputFlags encrypted = encryptText(logMessage, flags.key); //ENCRYPT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user