Final additions for submission

This commit is contained in:
2022-11-13 17:45:17 -06:00
parent 4d155bc61a
commit 3000681f02
2 changed files with 27 additions and 1 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ int IsFileArchived(char* archiveName, char* filename)
{
readSize = ReadSingleModuleFromArchive(archiveFD, &(module));
free(module.moduleData);
if (strcmp(module.moduleHeader.moduleName, filename) == 0)
if (strcmp(module.moduleHeader.moduleName, newFilename) == 0)
{
free(newFilename);
close(archiveFD);