renamed WRITE_MESSAGE to WRITE_MESSAGE_1

This commit is contained in:
Václav Šmejkal 2023-01-25 12:16:35 +01:00
parent 0a0eb94a83
commit 1fb64603bb
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ const enum RETURN_CODES //exit codes you fucking idiot (2#)
INVALID_FILE = -1 //THIS WILL HAPPEN IF YOU USE TOO MUCH LOGS lol
};
#define WRITE_MESSAGE "Hello from logger-test! 👋"
#define WRITE_MESSAGE_1 "Hello from logger-test! 👋"
#define WRITE_DIR "./logs"
#define LOG_LATEST "latest.log"

View File

@ -42,12 +42,12 @@ int main(void)
//SET FLAGS
setLogFlags(flags);
writeLog(logger.file, WRITE_MESSAGE); //WRITE
writeLog(logger.file, WRITE_MESSAGE_1); //WRITE
decrypted = decryptLogger(logger); //DECRYPT
//COMPARE OUTPUT
if (strcmp(decrypted[0], WRITE_MESSAGE) == 0) //SUCCESS
if (strcmp(decrypted[0], WRITE_MESSAGE_1) == 0) //SUCCESS
{
printf("TEST SUCCESSFUL!\n");
} else