added missing comment

This commit is contained in:
Václav Šmejkal 2022-12-09 15:21:02 +01:00
parent f38e6e15f4
commit 7a5e632f7a
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -79,7 +79,7 @@ logFile initLogger(char *directoryPath)
latestFilePath = malloc(strlen(filePath) + 1); latestFilePath = malloc(strlen(filePath) + 1);
strcpy(latestFilePath, filePath); strcpy(latestFilePath, filePath);
if (access(latestBuffer, R_OK) == 0) { unlink(latestBuffer); } if (access(latestBuffer, R_OK) == 0) { unlink(latestBuffer); } //REMOVE SYMLINK IF IT ALREADY EXISTS
(void) (symlink(latestFilePath + (strlen(WRITE_DIR) + 1), latestBuffer) + 1); //TODO: Try to create some function for processing exit value //CREATE (void) (symlink(latestFilePath + (strlen(WRITE_DIR) + 1), latestBuffer) + 1); //TODO: Try to create some function for processing exit value //CREATE
deallocation: deallocation: