added missing comment
This commit is contained in:
parent
f38e6e15f4
commit
7a5e632f7a
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user